summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-11 15:16:49 +0000
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-11 15:16:49 +0000
commit13085e2a93aac08d01c61b972bd38602e3dc7909 (patch)
tree7849743365bb868cc0623e4c74318a285428f05b
parent88457013de8a01d5346b15f25de9ee7bcc9a9311 (diff)
downloadgcc-13085e2a93aac08d01c61b972bd38602e3dc7909.tar.gz
In libobjc/:
* archive.c: Removed not needed includes. * class.c: Same change. * hash.c: Same change. * misc.c: Same change. * nil_method.c: Same change. * objects.c: Same change. * sarray.c: Same change. * sendmsg.c: Same change. * thr.c: Same change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164214 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libobjc/ChangeLog12
-rw-r--r--libobjc/archive.c1
-rw-r--r--libobjc/class.c3
-rw-r--r--libobjc/hash.c2
-rw-r--r--libobjc/misc.c3
-rw-r--r--libobjc/nil_method.c5
-rw-r--r--libobjc/objects.c3
-rw-r--r--libobjc/sarray.c2
-rw-r--r--libobjc/sendmsg.c2
-rw-r--r--libobjc/thr.c2
10 files changed, 12 insertions, 23 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog
index 784056bf1e5..00b1de3dd39 100644
--- a/libobjc/ChangeLog
+++ b/libobjc/ChangeLog
@@ -1,5 +1,17 @@
2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
+ * archive.c: Removed not needed includes.
+ * class.c: Same change.
+ * hash.c: Same change.
+ * misc.c: Same change.
+ * nil_method.c: Same change.
+ * objects.c: Same change.
+ * sarray.c: Same change.
+ * sendmsg.c: Same change.
+ * thr.c: Same change.
+
+2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
+
* objc/runtime.h: Moved to objc-private/runtime.h. Do not include
all the objc/*.h files.
* objc-private/runtime.h: New file.
diff --git a/libobjc/archive.c b/libobjc/archive.c
index 5275c63042b..87d5ad8375d 100644
--- a/libobjc/archive.c
+++ b/libobjc/archive.c
@@ -25,7 +25,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "tconfig.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"
diff --git a/libobjc/class.c b/libobjc/class.c
index f3bb07b1980..c86cbb4dcc9 100644
--- a/libobjc/class.c
+++ b/libobjc/class.c
@@ -90,10 +90,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#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" /* the kitchen sink */
-#include "objc/sarray.h"
/* We use a table which maps a class name to the corresponding class
* pointer. The first part of this file defines this table, and
diff --git a/libobjc/hash.c b/libobjc/hash.c
index 69b0b9f2162..697f2e1b69b 100644
--- a/libobjc/hash.c
+++ b/libobjc/hash.c
@@ -26,9 +26,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#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" /* for DEBUG_PRINTF */
/* These two macros determine when a hash table is full and
diff --git a/libobjc/misc.c b/libobjc/misc.c
index 987acfc2e20..e67f345df5e 100644
--- a/libobjc/misc.c
+++ b/libobjc/misc.c
@@ -29,9 +29,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include <stdlib.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"
/*
diff --git a/libobjc/nil_method.c b/libobjc/nil_method.c
index c58515baa5b..a5364eab4ce 100644
--- a/libobjc/nil_method.c
+++ b/libobjc/nil_method.c
@@ -27,11 +27,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
of a method is nil */
#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
diff --git a/libobjc/objects.c b/libobjc/objects.c
index 10ac3a99102..fcfce1e490d 100644
--- a/libobjc/objects.c
+++ b/libobjc/objects.c
@@ -26,9 +26,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "tconfig.h" /* include defs of bzero for target */
#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" /* the kitchen sink */
#if OBJC_WITH_GC
diff --git a/libobjc/sarray.c b/libobjc/sarray.c
index c4d7fbb6b36..79172ea93be 100644
--- a/libobjc/sarray.c
+++ b/libobjc/sarray.c
@@ -27,8 +27,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#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"
#include <stdio.h>
#include "assert.h"
diff --git a/libobjc/sendmsg.c b/libobjc/sendmsg.c
index 5b0d3604a7b..682fbe11022 100644
--- a/libobjc/sendmsg.c
+++ b/libobjc/sendmsg.c
@@ -34,8 +34,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#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"
#include "objc/sarray.h"
#include "objc/encoding.h"
diff --git a/libobjc/thr.c b/libobjc/thr.c
index b2a896a0f45..5b39ada2788 100644
--- a/libobjc/thr.c
+++ b/libobjc/thr.c
@@ -38,8 +38,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "objc/thr.h"
#include "objc/objc.h"
#include "objc/objc-api.h"
-#include "objc/hash.h"
-#include "objc/objc-list.h"
#include "objc-private/runtime.h"
#include <gthr.h>