summaryrefslogtreecommitdiff
path: root/libthreads
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-05-05 10:58:01 +0000
committerRoland McGrath <roland@gnu.org>1994-05-05 10:58:01 +0000
commit86a13e28b322e21598c68bf37ad061e661eba60f (patch)
tree4dc4a9e8983852814107266d602f6719c3e012e5 /libthreads
parente7bc5119b61f9ee1be5e24eb1f10a4fb7a3a6a0f (diff)
entered into RCS
Diffstat (limited to 'libthreads')
-rw-r--r--libthreads/cthread_internals.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libthreads/cthread_internals.h b/libthreads/cthread_internals.h
index ed8ce445..0d60c335 100644
--- a/libthreads/cthread_internals.h
+++ b/libthreads/cthread_internals.h
@@ -138,7 +138,10 @@ typedef struct cproc {
volatile char *waiting_for; /* address of mutex/cond waiting for */
#endif WAIT_DEBUG
+#if 0
+ /* This is not needed in GNU; libc handles it. */
mach_port_t reply_port; /* for mig_get_reply_port() */
+#endif
int context;
spin_lock_t lock;
@@ -160,10 +163,13 @@ typedef struct cproc {
#define NO_CPROC ((cproc_t) 0)
#define cproc_self() ((cproc_t) ur_cthread_self())
+#if 0
+/* This declaration conflicts with <stdlib.h> in GNU. */
/*
* C Threads imports:
*/
extern char *malloc();
+#endif
/*
* Mach imports: