aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-06-07 19:21:00 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1996-06-07 19:21:00 -0400
commitcc782a7e9e671c3a181dfe693fd692a417eee3d1 (patch)
tree8c605e076d71405ad61e567399de6e4a14803d97
parent7228791ecfdf07799dfc66d3b8b885f0c781a474 (diff)
downloadgcc-cc782a7e9e671c3a181dfe693fd692a417eee3d1.zip
gcc-cc782a7e9e671c3a181dfe693fd692a417eee3d1.tar.gz
gcc-cc782a7e9e671c3a181dfe693fd692a417eee3d1.tar.bz2
Now compiles as a separate source file, so include appropriate
Objective-C headers. From-SVN: r12217
-rw-r--r--gcc/objc/thr-decosf1.c2
-rw-r--r--gcc/objc/thr-irix.c2
-rw-r--r--gcc/objc/thr-mach.c7
-rw-r--r--gcc/objc/thr-os2.c8
-rw-r--r--gcc/objc/thr-posix.c7
-rw-r--r--gcc/objc/thr-single.c3
-rw-r--r--gcc/objc/thr-solaris.c3
-rw-r--r--gcc/objc/thr-win32.c2
8 files changed, 23 insertions, 11 deletions
diff --git a/gcc/objc/thr-decosf1.c b/gcc/objc/thr-decosf1.c
index 1f1d6f3..684f0b8 100644
--- a/gcc/objc/thr-decosf1.c
+++ b/gcc/objc/thr-decosf1.c
@@ -25,6 +25,8 @@ Boston, MA 02111-1307, USA. */
covered by the GNU General Public License. */
#include <pthread.h>
+#include <objc/thr.h>
+#include "runtime.h"
/********
* This structure represents a single mutual exclusion lock. Lock semantics
diff --git a/gcc/objc/thr-irix.c b/gcc/objc/thr-irix.c
index 7e1236a..ca9fca0 100644
--- a/gcc/objc/thr-irix.c
+++ b/gcc/objc/thr-irix.c
@@ -29,6 +29,8 @@ Boston, MA 02111-1307, USA. */
#include <sys/sysmp.h>
#include <sys/prctl.h>
#include <ulocks.h>
+#include <objc/thr.h>
+#include "runtime.h"
/********
* This structure represents a single mutual exclusion lock. Lock semantics
diff --git a/gcc/objc/thr-mach.c b/gcc/objc/thr-mach.c
index 22743d2..10aedba 100644
--- a/gcc/objc/thr-mach.c
+++ b/gcc/objc/thr-mach.c
@@ -1,8 +1,7 @@
/* GNU Objective C Runtime Thread Implementation
Copyright (C) 1996 Free Software Foundation, Inc.
-
-Author: Galen C. Hunt (gchunt@cs.rochester.edu)
-Modified for Mach threads by: Bill Bumgarner <bbum@friday.com>
+ Contributed by Galen C. Hunt (gchunt@cs.rochester.edu)
+ Modified for Mach threads by Bill Bumgarner <bbum@friday.com>
This file is part of GNU CC.
@@ -28,6 +27,8 @@ Boston, MA 02111-1307, USA. */
#include <mach/mach.h>
#include <mach/cthreads.h>
+#include <objc/thr.h>
+#include "runtime.h"
/********
* This structure represents a single mutual exclusion lock. Lock semantics
diff --git a/gcc/objc/thr-os2.c b/gcc/objc/thr-os2.c
index 0db006b..470ab87 100644
--- a/gcc/objc/thr-os2.c
+++ b/gcc/objc/thr-os2.c
@@ -1,9 +1,6 @@
/* GNU Objective C Runtime Thread Interface - OS/2 emx Implementation
Copyright (C) 1996 Free Software Foundation, Inc.
-
-Author: Thomas Baier (baier@ci.tuwien.ac.at)
-
-This file is included into thread.c
+ Contributed by Thomas Baier (baier@ci.tuwien.ac.at)
This file is part of GNU CC.
@@ -27,6 +24,9 @@ Boston, MA 02111-1307, USA. */
however invalidate any other reasons why the executable file might be
covered by the GNU General Public License. */
+#include <objc/thr.h>
+#include "runtime.h"
+
#define INCL_DOSSEMAPHORES
#define INCL_DOSPROCESS
diff --git a/gcc/objc/thr-posix.c b/gcc/objc/thr-posix.c
index fd9be1b..e2a98d2 100644
--- a/gcc/objc/thr-posix.c
+++ b/gcc/objc/thr-posix.c
@@ -1,8 +1,7 @@
/* GNU Objective C Runtime Thread Interface for POSIX compliant threads
Copyright (C) 1996 Free Software Foundation, Inc.
-
-Author: Galen C. Hunt (gchunt@cs.rochester.edu)
-Modified for Linux & Pthreads: Kai-Uwe Sattler (kus@iti.cs.uni-magdeburg.de)
+ Contributed by Galen C. Hunt (gchunt@cs.rochester.edu)
+ Modified for Linux/Pthreads by Kai-Uwe Sattler (kus@iti.cs.uni-magdeburg.de)
This file is part of GNU CC.
@@ -26,6 +25,8 @@ Boston, MA 02111-1307, USA. */
however invalidate any other reasons why the executable file might be
covered by the GNU General Public License. */
+#include <objc/thr.h>
+#include "runtime.h"
#include <pthread.h>
/********
diff --git a/gcc/objc/thr-single.c b/gcc/objc/thr-single.c
index 543f6db..5ab416d 100644
--- a/gcc/objc/thr-single.c
+++ b/gcc/objc/thr-single.c
@@ -24,6 +24,9 @@ Boston, MA 02111-1307, USA. */
however invalidate any other reasons why the executable file might be
covered by the GNU General Public License. */
+#include <objc/thr.h>
+#include "runtime.h"
+
/********
* This structure represents a single mutual exclusion lock. Lock semantics
* are detailed with the subsequent functions. We use whatever lock is
diff --git a/gcc/objc/thr-solaris.c b/gcc/objc/thr-solaris.c
index d27fcb4..75fad21 100644
--- a/gcc/objc/thr-solaris.c
+++ b/gcc/objc/thr-solaris.c
@@ -1,6 +1,6 @@
/* GNU Objective C Runtime Thread Interface
Copyright (C) 1996 Free Software Foundation, Inc.
- Cobnrtibuted by Galen C. Hunt (gchunt@cs.rochester.edu)
+ Contributed by Galen C. Hunt (gchunt@cs.rochester.edu)
This file is part of GNU CC.
@@ -24,6 +24,7 @@ Boston, MA 02111-1307, USA. */
however invalidate any other reasons why the executable file might be
covered by the GNU General Public License. */
+#include <objc/thr.h>
#include "runtime.h"
#include <thread.h>
diff --git a/gcc/objc/thr-win32.c b/gcc/objc/thr-win32.c
index d933999..f31ed63 100644
--- a/gcc/objc/thr-win32.c
+++ b/gcc/objc/thr-win32.c
@@ -25,6 +25,8 @@ Boston, MA 02111-1307, USA. */
covered by the GNU General Public License. */
#include <windows.h>
+#include <objc/thr.h>
+#include "runtime.h"
/********
* This structure represents a single mutual exclusion lock. Lock semantics