summaryrefslogtreecommitdiff
path: root/libobjc
diff options
context:
space:
mode:
authorayers <ayers@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-08 15:13:17 +0000
committerayers <ayers@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-08 15:13:17 +0000
commitbafbe9351f02e858b62dc506b9c585ece370662c (patch)
treec73dc4372d9529b9fd152b42810f290146cc70cf /libobjc
parentcee50ddde77403d855ad4aa74e5ba840925dd99a (diff)
downloadgcc-bafbe9351f02e858b62dc506b9c585ece370662c.tar.gz
2005-06-08 David Ayers <d.ayers@inode.at>
* objc/NXConstStr.h, objc/Object.h, objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h, objc/runtime.h, objc/sarray.h, objc/thr.h, objc/typedstream.h: Do not include Objective-C headers as system headers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100760 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc')
-rw-r--r--libobjc/ChangeLog8
-rw-r--r--libobjc/objc/NXConstStr.h2
-rw-r--r--libobjc/objc/Object.h4
-rw-r--r--libobjc/objc/Protocol.h2
-rw-r--r--libobjc/objc/encoding.h2
-rw-r--r--libobjc/objc/hash.h2
-rw-r--r--libobjc/objc/objc-api.h8
-rw-r--r--libobjc/objc/runtime.h10
-rw-r--r--libobjc/objc/sarray.h2
-rw-r--r--libobjc/objc/thr.h2
-rw-r--r--libobjc/objc/typedstream.h4
11 files changed, 27 insertions, 19 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog
index 59a861ec999..0fa3b08f16f 100644
--- a/libobjc/ChangeLog
+++ b/libobjc/ChangeLog
@@ -1,3 +1,11 @@
+2005-06-08 David Ayers <d.ayers@inode.at>
+
+ * objc/NXConstStr.h, objc/Object.h, objc/Protocol.h,
+ objc/encoding.h, objc/hash.h, objc/objc-api.h,
+ objc/runtime.h, objc/sarray.h, objc/thr.h,
+ objc/typedstream.h: Do not include Objective-C headers as
+ system headers.
+
2005-06-07 David Ayers <d.ayers@inode.at>
* archive.c, init.c, selector.c: Include hash.h.
diff --git a/libobjc/objc/NXConstStr.h b/libobjc/objc/NXConstStr.h
index b89720ef5eb..b0f6ea504cd 100644
--- a/libobjc/objc/NXConstStr.h
+++ b/libobjc/objc/NXConstStr.h
@@ -28,7 +28,7 @@ Boston, MA 02111-1307, USA. */
#ifndef __nxconstantstring_INCLUDE_GNU
#define __nxconstantstring_INCLUDE_GNU
-#include <objc/Object.h>
+#include "Object.h"
#ifdef __cplusplus
extern "C" {
diff --git a/libobjc/objc/Object.h b/libobjc/objc/Object.h
index b159b59079d..21552cab47f 100644
--- a/libobjc/objc/Object.h
+++ b/libobjc/objc/Object.h
@@ -27,8 +27,8 @@ Boston, MA 02111-1307, USA. */
#ifndef __object_INCLUDE_GNU
#define __object_INCLUDE_GNU
-#include <objc/objc.h>
-#include <objc/typedstream.h>
+#include "objc.h"
+#include "typedstream.h"
#ifdef __cplusplus
extern "C" {
diff --git a/libobjc/objc/Protocol.h b/libobjc/objc/Protocol.h
index 56af9068298..fa65a2e4cf9 100644
--- a/libobjc/objc/Protocol.h
+++ b/libobjc/objc/Protocol.h
@@ -27,7 +27,7 @@ Boston, MA 02111-1307, USA. */
#ifndef __Protocol_INCLUDE_GNU
#define __Protocol_INCLUDE_GNU
-#include <objc/Object.h>
+#include "Object.h"
#ifdef __cplusplus
extern "C" {
diff --git a/libobjc/objc/encoding.h b/libobjc/objc/encoding.h
index 57cf390fe4b..f09b549f12c 100644
--- a/libobjc/objc/encoding.h
+++ b/libobjc/objc/encoding.h
@@ -29,7 +29,7 @@ Boston, MA 02111-1307, USA. */
#ifndef __encoding_INCLUDE_GNU
#define __encoding_INCLUDE_GNU
-#include <objc/objc-api.h>
+#include "objc-api.h"
#include <ctype.h>
#ifdef __cplusplus
diff --git a/libobjc/objc/hash.h b/libobjc/objc/hash.h
index e3002c4539a..d9f3aee86bb 100644
--- a/libobjc/objc/hash.h
+++ b/libobjc/objc/hash.h
@@ -30,7 +30,7 @@ Boston, MA 02111-1307, USA. */
#include <stddef.h>
#include <string.h>
-#include <objc/objc.h>
+#include "objc.h"
#ifdef __cplusplus
extern "C" {
diff --git a/libobjc/objc/objc-api.h b/libobjc/objc/objc-api.h
index 58df4ea0487..9011ab5d2b3 100644
--- a/libobjc/objc/objc-api.h
+++ b/libobjc/objc/objc-api.h
@@ -27,10 +27,10 @@ Boston, MA 02111-1307, USA. */
#ifndef __objc_api_INCLUDE_GNU
#define __objc_api_INCLUDE_GNU
-#include <objc/objc.h>
-#include <objc/hash.h>
-#include <objc/thr.h>
-#include <objc/objc-decls.h>
+#include "objc.h"
+#include "hash.h"
+#include "thr.h"
+#include "objc-decls.h"
#include <stdio.h>
#include <stdarg.h>
diff --git a/libobjc/objc/runtime.h b/libobjc/objc/runtime.h
index f9612818c44..f4f3746c0bb 100644
--- a/libobjc/objc/runtime.h
+++ b/libobjc/objc/runtime.h
@@ -34,13 +34,13 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include <stddef.h> /* so noone else will get system versions */
#include <assert.h>
-#include <objc/objc.h> /* core data types */
-#include <objc/objc-api.h> /* runtime api functions */
+#include "objc.h" /* core data types */
+#include "objc-api.h" /* runtime api functions */
-#include <objc/thr.h> /* thread and mutex support */
+#include "thr.h" /* thread and mutex support */
-#include <objc/hash.h> /* hash structures */
-#include <objc/objc-list.h> /* linear lists */
+#include "hash.h" /* hash structures */
+#include "objc-list.h" /* linear lists */
#ifdef __cplusplus
extern "C" {
diff --git a/libobjc/objc/sarray.h b/libobjc/objc/sarray.h
index 4965839b3a7..f19407baa22 100644
--- a/libobjc/objc/sarray.h
+++ b/libobjc/objc/sarray.h
@@ -28,7 +28,7 @@ Boston, MA 02111-1307, USA. */
#ifndef __sarray_INCLUDE_GNU
#define __sarray_INCLUDE_GNU
-#include <objc/thr.h>
+#include "thr.h"
#define OBJC_SPARSE2 /* 2-level sparse array */
/* #define OBJC_SPARSE3 */ /* 3-level sparse array */
diff --git a/libobjc/objc/thr.h b/libobjc/objc/thr.h
index 0b77527e1ef..d3d791a6d8f 100644
--- a/libobjc/objc/thr.h
+++ b/libobjc/objc/thr.h
@@ -38,7 +38,7 @@ Boston, MA 02111-1307, USA. */
#ifndef __thread_INCLUDE_GNU
#define __thread_INCLUDE_GNU
-#include <objc/objc.h>
+#include "objc.h"
#ifdef __cplusplus
extern "C" {
diff --git a/libobjc/objc/typedstream.h b/libobjc/objc/typedstream.h
index 0846d172d13..a52aa7e3a97 100644
--- a/libobjc/objc/typedstream.h
+++ b/libobjc/objc/typedstream.h
@@ -27,8 +27,8 @@ Boston, MA 02111-1307, USA. */
#ifndef __typedstream_INCLUDE_GNU
#define __typedstream_INCLUDE_GNU
-#include <objc/objc.h>
-#include <objc/hash.h>
+#include "objc.h"
+#include "hash.h"
#include <stdio.h>