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
This commit is contained in:
Richard Frith-MacDonald 2009-04-10 08:28:21 +00:00
parent 5921606e39
commit 4243d08bfe

View file

@ -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.