summaryrefslogtreecommitdiff
path: root/lib/librthread/rthread_sig.c
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2011-11-06 11:49:00 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2011-11-06 11:49:00 +0000
commit90a1f2aa7a0e0bb6f2e311f3e57c79c148a1711f (patch)
treebbd0be9ad01c1d60bc99d3a74af048f3377f67c2 /lib/librthread/rthread_sig.c
parentc6163b435492011bff9f8e457cc5825f7361fa53 (diff)
Move <machine/spinlock.h> into rthread.h; strip out unnecessary #includes
Diffstat (limited to 'lib/librthread/rthread_sig.c')
-rw-r--r--lib/librthread/rthread_sig.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/librthread/rthread_sig.c b/lib/librthread/rthread_sig.c
index 392e20c43e9..cfb7b2e87c6 100644
--- a/lib/librthread/rthread_sig.c
+++ b/lib/librthread/rthread_sig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rthread_sig.c,v 1.8 2009/11/27 19:43:55 guenther Exp $ */
+/* $OpenBSD: rthread_sig.c,v 1.9 2011/11/06 11:48:59 guenther Exp $ */
/*
* Copyright (c) 2005 Ted Unangst <tedu@openbsd.org>
* All Rights Reserved.
@@ -19,17 +19,7 @@
* signals
*/
-#include <sys/param.h>
-#include <sys/mman.h>
-#include <sys/wait.h>
-
-#include <machine/spinlock.h>
-
-#include <stdlib.h>
-#include <unistd.h>
#include <signal.h>
-#include <stdio.h>
-#include <string.h>
#include <errno.h>
#include <pthread.h>