diff options
author | 2011-11-06 11:48:58 +0000 | |
---|---|---|
committer | 2011-11-06 11:48:58 +0000 | |
commit | abaa7c77177806065d823d5b562de1d1397ed1cd (patch) | |
tree | cb5562b04a7c3563bdd8ffc552ca0c9f9258db03 /lib/librthread/rthread_debug.c | |
parent | Fix GTIMER_STATUS offset (diff) | |
download | wireguard-openbsd-abaa7c77177806065d823d5b562de1d1397ed1cd.tar.xz wireguard-openbsd-abaa7c77177806065d823d5b562de1d1397ed1cd.zip |
Move <machine/spinlock.h> into rthread.h; strip out unnecessary #includes
Diffstat (limited to 'lib/librthread/rthread_debug.c')
-rw-r--r-- | lib/librthread/rthread_debug.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/librthread/rthread_debug.c b/lib/librthread/rthread_debug.c index 1111a615707..aefc34da834 100644 --- a/lib/librthread/rthread_debug.c +++ b/lib/librthread/rthread_debug.c @@ -1,21 +1,12 @@ -/* $OpenBSD: rthread_debug.c,v 1.1 2005/12/31 21:40:43 marc Exp $ */ +/* $OpenBSD: rthread_debug.c,v 1.2 2011/11/06 11:48:59 guenther Exp $ */ /* $snafu: rthread_debug.c,v 1.2 2004/12/09 18:41:44 marc Exp $ */ /* PUBLIC DOMAIN: No Rights Reserved. Marco S Hyman <marc@snafu.org> */ -#define _POSIX_THREADS - -#include <sys/param.h> -#include <sys/mman.h> -#include <sys/wait.h> - -#include <machine/spinlock.h> - #include <pthread.h> #include <stdarg.h> #include <stdlib.h> #include <stdio.h> -#include <time.h> #include <unistd.h> #include "rthread.h" |