aboutsummaryrefslogtreecommitdiff
path: root/libobjc/nil_method.c
diff options
context:
space:
mode:
authorNicola Pero <nicola.pero@meta-innovation.com>2010-09-11 12:58:27 +0000
committerNicola Pero <nicola@gcc.gnu.org>2010-09-11 12:58:27 +0000
commita19fac96a2f50a673543ec79d8bce42d63df6d8f (patch)
tree16546ea895990a00127d9bea6e85a7b88b99854e /libobjc/nil_method.c
parent3d0d87390b1aad25556c927130ef0ec6890439e8 (diff)
downloadgcc-a19fac96a2f50a673543ec79d8bce42d63df6d8f.zip
gcc-a19fac96a2f50a673543ec79d8bce42d63df6d8f.tar.gz
gcc-a19fac96a2f50a673543ec79d8bce42d63df6d8f.tar.bz2
In libobjc/:
* objc/runtime.h: Moved to objc-private/runtime.h. Do not include all the objc/*.h files. * objc-private/runtime.h: New file. * archive.c: Include objc-private/runtime.h (and required objc/*.h files) instead of objc/runtime.h. * class.c: Same change. * hash.c: Same change. * init.c: Same change. * misc.c: Same change. * nil_method.c: Same change. * objects.c: Same change. * sarray.c: Same change. * selector.c: Same change. * sendmsg.c: Same change. * thr.c: Same change. From-SVN: r164213
Diffstat (limited to 'libobjc/nil_method.c')
-rw-r--r--libobjc/nil_method.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libobjc/nil_method.c b/libobjc/nil_method.c
index f73505c..c58515b 100644
--- a/libobjc/nil_method.c
+++ b/libobjc/nil_method.c
@@ -26,7 +26,12 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
/* This is the nil method, the function that is called when the receiver
of a method is nil */
-#include "objc/runtime.h"
+#include "objc/objc.h"
+#include "objc/objc-api.h"
+#include "objc/thr.h"
+#include "objc/hash.h"
+#include "objc/objc-list.h"
+#include "objc-private/runtime.h"
/* When the receiver of a method invocation is nil, the runtime
returns nil_method() as the method implementation. This function