summaryrefslogtreecommitdiffstats
path: root/lib/librthread/rthread_debug.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2011-11-06 11:48:58 +0000
committerguenther <guenther@openbsd.org>2011-11-06 11:48:58 +0000
commitabaa7c77177806065d823d5b562de1d1397ed1cd (patch)
treecb5562b04a7c3563bdd8ffc552ca0c9f9258db03 /lib/librthread/rthread_debug.c
parentFix GTIMER_STATUS offset (diff)
downloadwireguard-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.c11
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"