diff options
-rw-r--r-- | libthreads/cthread_internals.h | 6 |
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: |