Loading...
--- Libc/Libc-320.1.3/include/objc/zone.h
+++ Libc/Libc-262.3.2/include/objc/zone.h
@@ -2,6 +2,8 @@
* Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
+ *
+ * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
@@ -21,10 +23,7 @@
* @APPLE_LICENSE_HEADER_END@
*/
-#ifndef _OBJC_ZONE_H_
-#define _OBJC_ZONE_H_
-
-#import <malloc/malloc.h>
+#import <objc/malloc.h>
typedef malloc_zone_t NXZone;
@@ -32,9 +31,6 @@
/********* Interface to zone based malloc ************/
-#include <sys/cdefs.h>
-
-__BEGIN_DECLS
extern NXZone *NXDefaultMallocZone(void);
// Returns the default zone used by the malloc(3) calls
@@ -59,6 +55,4 @@
extern NXZone *NXZoneFromPtr(void *ptr);
// Returns the zone for a pointer, or NX_NOZONE if not in any zone.
// The ptr must have been returned from a malloc or realloc call.
-__END_DECLS
-#endif /* _OBJC_ZONE_H_ */