diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2012-04-17 15:10:12 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2012-04-17 15:10:12 +0000 |
commit | 9b821e4a9a53bf165a56c01038259b3c0e83bdc6 (patch) | |
tree | 48b3b31f9d6fd31644c69d197fad668bc3f3ba59 /lib | |
parent | 21acde5b26ef6f0bad9216e1b2f668bc4d91ac3c (diff) |
Remove "#define _POSIX_THREADS" line before include <pthread.h>.
The latter contains "#define _POSIX_THREADS 1" which makes gcc 2.95 complain.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/librthread/rthread_cancel.c | 4 | ||||
-rw-r--r-- | lib/librthread/rthread_libc.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/lib/librthread/rthread_cancel.c b/lib/librthread/rthread_cancel.c index 16b0b22517d..a1ccd9f0669 100644 --- a/lib/librthread/rthread_cancel.c +++ b/lib/librthread/rthread_cancel.c @@ -1,10 +1,8 @@ -/* $OpenBSD: rthread_cancel.c,v 1.5 2012/03/22 01:11:47 guenther Exp $ */ +/* $OpenBSD: rthread_cancel.c,v 1.6 2012/04/17 15:10:11 miod Exp $ */ /* $snafu: libc_tag.c,v 1.4 2004/11/30 07:00:06 marc Exp $ */ /* PUBLIC DOMAIN: No Rights Reserved. Marco S Hyman <marc@snafu.org> */ -#define _POSIX_THREADS - #include <sys/types.h> #include <sys/ioctl.h> #include <sys/msg.h> diff --git a/lib/librthread/rthread_libc.c b/lib/librthread/rthread_libc.c index 26abe3d0928..fad70524c75 100644 --- a/lib/librthread/rthread_libc.c +++ b/lib/librthread/rthread_libc.c @@ -1,10 +1,8 @@ -/* $OpenBSD: rthread_libc.c,v 1.9 2011/12/05 04:02:03 guenther Exp $ */ +/* $OpenBSD: rthread_libc.c,v 1.10 2012/04/17 15:10:11 miod Exp $ */ /* $snafu: libc_tag.c,v 1.4 2004/11/30 07:00:06 marc Exp $ */ /* PUBLIC DOMAIN: No Rights Reserved. Marco S Hyman <marc@snafu.org> */ -#define _POSIX_THREADS - #include <sys/time.h> #include <pthread.h> |