From 3d07410be3a202fe5a27f84c278632fbb0ea743d Mon Sep 17 00:00:00 2001 From: rfm Date: Fri, 10 Apr 2009 08:28:21 +0000 Subject: [PATCH] move code around a bit to work without gc git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28193 72102866-910b-0410-8b05-ffd578937521 --- Source/NSZone.m | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Source/NSZone.m b/Source/NSZone.m index 6933aec73..eb9e7adc8 100644 --- a/Source/NSZone.m +++ b/Source/NSZone.m @@ -744,6 +744,10 @@ static void* rrealloc (NSZone *zone, void *ptr, size_t size); static void rffree (NSZone *zone, void *ptr); static void rnfree (NSZone *zone, void *ptr); +/* + * Lists of zones to be used to determine if a pointer is in a zone. + */ +static NSZone *zone_list = 0; static inline void destroy_zone(NSZone* zone) @@ -1814,11 +1818,6 @@ rrealloc (NSZone *zone, void *ptr, size_t size) static void rnfree (NSZone *zone, void *ptr); -/* - * Lists of zones to be used to determine if a pointer is in a zone. - */ -static NSZone *zone_list = 0; - /** * Searches and finds the zone ptr was allocated from. The speed depends * upon the number of zones and their size.