diff options
author | 2012-12-05 23:19:48 +0000 | |
---|---|---|
committer | 2012-12-05 23:19:48 +0000 | |
commit | 4a39ccd02c887d988c1a5398dd2142879056da5f (patch) | |
tree | 3f6f5ebe7c6dd542474dc26d7ceda4e4d4da28e6 /lib/libpthread | |
parent | Cross-reference getfsstat(2); OK jmc@ (diff) | |
download | wireguard-openbsd-4a39ccd02c887d988c1a5398dd2142879056da5f.tar.xz wireguard-openbsd-4a39ccd02c887d988c1a5398dd2142879056da5f.zip |
Remove excessive sys/cdefs.h inclusion
ok guenther millert kettenis
Diffstat (limited to 'lib/libpthread')
-rw-r--r-- | lib/libpthread/include/pthread.h | 3 | ||||
-rw-r--r-- | lib/libpthread/include/sched.h | 4 | ||||
-rw-r--r-- | lib/libpthread/include/semaphore.h | 3 | ||||
-rw-r--r-- | lib/libpthread/include/spinlock.h | 5 |
4 files changed, 5 insertions, 10 deletions
diff --git a/lib/libpthread/include/pthread.h b/lib/libpthread/include/pthread.h index 514b8eb10c5..de6a8096483 100644 --- a/lib/libpthread/include/pthread.h +++ b/lib/libpthread/include/pthread.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pthread.h,v 1.38 2012/11/05 08:58:39 landry Exp $ */ +/* $OpenBSD: pthread.h,v 1.39 2012/12/05 23:20:05 deraadt Exp $ */ /* * Copyright (c) 1993, 1994 by Chris Provenzano, proven@mit.edu @@ -40,7 +40,6 @@ /* * Header files. */ -#include <sys/cdefs.h> #include <sys/types.h> #include <sys/time.h> #include <sys/signal.h> diff --git a/lib/libpthread/include/sched.h b/lib/libpthread/include/sched.h index a959d0f70de..d8aef46f111 100644 --- a/lib/libpthread/include/sched.h +++ b/lib/libpthread/include/sched.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sched.h,v 1.8 2012/03/22 04:26:31 guenther Exp $ */ +/* $OpenBSD: sched.h,v 1.9 2012/12/05 23:20:05 deraadt Exp $ */ /* sched.h: POSIX 1003.1b Process Scheduling header */ @@ -53,8 +53,6 @@ struct sched_param int sched_priority; }; -#include <sys/cdefs.h> - __BEGIN_DECLS #if 0 /* not yet */ int sched_setparam(pid_t, const struct sched_param *); diff --git a/lib/libpthread/include/semaphore.h b/lib/libpthread/include/semaphore.h index f5256d936cb..6e00bf320ee 100644 --- a/lib/libpthread/include/semaphore.h +++ b/lib/libpthread/include/semaphore.h @@ -1,4 +1,4 @@ -/* $OpenBSD: semaphore.h,v 1.5 2012/07/11 09:08:50 guenther Exp $ */ +/* $OpenBSD: semaphore.h,v 1.6 2012/12/05 23:20:05 deraadt Exp $ */ /* semaphore.h: POSIX 1003.1b semaphores */ @@ -50,7 +50,6 @@ struct timespec; #define SEM_VALUE_MAX UINT_MAX #ifndef _KERNEL -#include <sys/cdefs.h> __BEGIN_DECLS int sem_init(sem_t *, int, unsigned int); diff --git a/lib/libpthread/include/spinlock.h b/lib/libpthread/include/spinlock.h index 717072115b0..1e836d41605 100644 --- a/lib/libpthread/include/spinlock.h +++ b/lib/libpthread/include/spinlock.h @@ -29,8 +29,8 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: spinlock.h,v 1.8 2003/01/31 04:46:17 marc Exp $ - * $OpenBSD: spinlock.h,v 1.8 2003/01/31 04:46:17 marc Exp $ + * $Id: spinlock.h,v 1.9 2012/12/05 23:20:05 deraadt Exp $ + * $OpenBSD: spinlock.h,v 1.9 2012/12/05 23:20:05 deraadt Exp $ * * Lock definitions used in both libc and libpthread. * @@ -38,7 +38,6 @@ #ifndef _SPINLOCK_H_ #define _SPINLOCK_H_ -#include <sys/cdefs.h> #include <sys/types.h> #include <machine/spinlock.h> |