Loading...
--- Libc/Libc-262.3.2/include/objc/zone.h
+++ Libc/Libc-391/include/objc/zone.h
@@ -2,8 +2,6 @@
* 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
@@ -23,7 +21,10 @@
* @APPLE_LICENSE_HEADER_END@
*/
-#import <objc/malloc.h>
+#ifndef _OBJC_ZONE_H_
+#define _OBJC_ZONE_H_
+
+#import <malloc/malloc.h>
typedef malloc_zone_t NXZone;
@@ -31,6 +32,9 @@
/********* 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
@@ -55,4 +59,6 @@
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_ */