diff options
author | 2002-11-03 23:58:38 +0000 | |
---|---|---|
committer | 2002-11-03 23:58:38 +0000 | |
commit | 7a602fd2b428bfeb32b5d1f6fed10c2aa08f9b33 (patch) | |
tree | 29843764569cf29b08f13e195f7b0249a98aec7b /lib/libpthread/thread/thread_malloc_lock.c | |
parent | libc changes for thread safety. Tested on: (diff) | |
download | wireguard-openbsd-7a602fd2b428bfeb32b5d1f6fed10c2aa08f9b33.tar.xz wireguard-openbsd-7a602fd2b428bfeb32b5d1f6fed10c2aa08f9b33.zip |
back out previous patch.. there are still some vax/m68k issues
Diffstat (limited to 'lib/libpthread/thread/thread_malloc_lock.c')
-rw-r--r-- | lib/libpthread/thread/thread_malloc_lock.c | 10 |
1 files changed, 2 insertions, 8 deletions
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() -{ -} |