]> git.saurik.com Git - apple/xnu.git/blobdiff - libkern/c++/OSUnserialize.y
xnu-4903.221.2.tar.gz
[apple/xnu.git] / libkern / c++ / OSUnserialize.y
index 450ce081133401bbcd4b04a3201677ae1f281a1c..86f396784c8df94d7ef65f3ea71db68f4d42a68a 100644 (file)
@@ -99,11 +99,7 @@ static OSObject      *parsedObject;
 
 #define YYSTYPE object_t *
 
-extern "C" {
-extern void *kern_os_malloc(size_t size);
-extern void *kern_os_realloc(void * addr, size_t size);
-extern void kern_os_free(void * addr);
-} /* extern "C" */
+#include <libkern/OSRuntime.h>
 
 #define malloc(s) kern_os_malloc(s)
 #define realloc(a, s) kern_os_realloc(a, s)