diff options
Diffstat (limited to 'lib/libpthread/thread')
-rw-r--r-- | lib/libpthread/thread/Makefile.inc | 4 | ||||
-rw-r--r-- | lib/libpthread/thread/thread_malloc_lock.c | 10 | ||||
-rw-r--r-- | lib/libpthread/thread/thread_storage.c | 6 |
3 files changed, 5 insertions, 15 deletions
diff --git a/lib/libpthread/thread/Makefile.inc b/lib/libpthread/thread/Makefile.inc index a235b563ae8..f98a910165c 100644 --- a/lib/libpthread/thread/Makefile.inc +++ b/lib/libpthread/thread/Makefile.inc @@ -1,5 +1,5 @@ -# $OpenBSD: Makefile.inc,v 1.2 2002/11/03 20:36:43 marc Exp $ +# $OpenBSD: Makefile.inc,v 1.3 2002/11/03 23:58:39 marc Exp $ .PATH: ${LIBC_RSRCDIR}/thread -SRCS+= thread_storage.c thread_malloc_lock.c +SRCS+= thread_storage.c diff --git a/lib/libpthread/thread/thread_malloc_lock.c b/lib/libpthread/thread/thread_malloc_lock.c index 229973d7e89..68f899983cb 100644 --- a/lib/libpthread/thread/thread_malloc_lock.c +++ b/lib/libpthread/thread/thread_malloc_lock.c @@ -1,8 +1,7 @@ -/* $OpenBSD: thread_malloc_lock.c,v 1.2 2002/11/03 20:36:43 marc Exp $ */ -/* Public Domain <marc@snafu.org> */ - #include <pthread.h> #include "pthread_private.h" +#include "thread_private.h" +#include "spinlock.h" static spinlock_t malloc_lock = _SPINLOCK_INITIALIZER; @@ -17,8 +16,3 @@ _thread_malloc_unlock() { _SPINUNLOCK(&malloc_lock); } - -void -_thread_malloc_init() -{ -} diff --git a/lib/libpthread/thread/thread_storage.c b/lib/libpthread/thread/thread_storage.c index 5872003a09f..fa8357c85ec 100644 --- a/lib/libpthread/thread/thread_storage.c +++ b/lib/libpthread/thread/thread_storage.c @@ -1,9 +1,5 @@ -/* $OpenBSD: thread_storage.c,v 1.4 2002/11/03 20:36:43 marc Exp $ */ -/* Public Domain */ -/* - * libpthread's stronger functions - */ +/* libpthread's stronger functions */ #include <stdlib.h> #include <pthread.h> |