From 718a8e53dce6751ad2c25954adfa8f666bd9d36e Mon Sep 17 00:00:00 2001 From: Nicola Pero Date: Tue, 12 Oct 2010 16:17:18 +0000 Subject: archive.c: Do not include objc/objc.h. 2010-10-12 Nicola Pero * archive.c: Do not include objc/objc.h. * class.c: Do not include objc/objc.h. * encoding.c: Include objc/runtime.h, ctype.h and objc-private/module-abi-8.h instead of objc/objc-api.h and objc/encoding.h. * error.c: Do not include objc/objc.h. * gc.c: Include tconfig.h and objc/encoding.h only if OBJC_WITH_GC. * hash.c: Include objc/runtime.h and objc/thr.h instead of objc/objc-api.h. Do not include objc/objc.h. * init.c: Do not include objc/objc.h. * ivars.c: Include objc/runtime.h, objc-private/module-abi-8.h and objc/thr.h instead of objc/objc-api.h. Do not include objc/objc.h. * linking.m: Tidied comment. * memory.c: Include objc/runtime.h instead of objc/objc-api.h. Do not include objc/objc.h. * objects.c: Do not include objc/objc.h. * objc-sync.c: Include objc/runtime.h instead of objc/objc-api.h. * protocols.c: Do not include objc/objc.h. * sarray.c: Include objc/runtime.h instead of objc/objc-api.h. Do not include objc/objc.h. * selector.c: Do not include objc/objc.h. * sendmsg.c: Do not include objc/objc.h. * thr.c: Include objc/runtime.h instead of objc/objc-api.h. Do not include objc/objc.h. * objc/objc-decls.h: Reindented code. * objc/runtime.h Include objc-decls.h. Updated comments. (objc_malloc): New. (objc_atomic_malloc): New. (objc_calloc): New. (objc_realloc): New. (objc_free): New. * objc-private/runtime.h: Updated comments. From-SVN: r165386 --- libobjc/error.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libobjc/error.c') diff --git a/libobjc/error.c b/libobjc/error.c index 0dc8fd8..7c6ba44 100644 --- a/libobjc/error.c +++ b/libobjc/error.c @@ -48,8 +48,7 @@ _objc_abort (const char *fmt, ...) } /* The rest of the file is deprecated. */ -#include "objc/objc.h" -#include "objc/objc-api.h" +#include "objc/objc-api.h" /* For objc_error_handler. */ /* ** Error handler function -- cgit v1.1