summaryrefslogtreecommitdiffstats
path: root/lib/librthread/rthread_fork.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_fork.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_fork.c')
-rw-r--r--lib/librthread/rthread_fork.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/librthread/rthread_fork.c b/lib/librthread/rthread_fork.c
index b5a8afc2dde..9ca144821c4 100644
--- a/lib/librthread/rthread_fork.c
+++ b/lib/librthread/rthread_fork.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rthread_fork.c,v 1.3 2009/11/27 19:42:24 guenther Exp $ */
+/* $OpenBSD: rthread_fork.c,v 1.4 2011/11/06 11:48:59 guenther Exp $ */
/*
* Copyright (c) 2008 Kurt Miller <kurt@openbsd.org>
@@ -30,10 +30,6 @@
* $FreeBSD: /repoman/r/ncvs/src/lib/libc_r/uthread/uthread_atfork.c,v 1.1 2004/12/10 03:36:45 grog Exp $
*/
-#include <sys/param.h>
-
-#include <machine/spinlock.h>
-
#include <errno.h>
#include <pthread.h>
#include <stdlib.h>