diff options
Diffstat (limited to 'lib/libc/thread/unithread_malloc_lock.c')
-rw-r--r-- | lib/libc/thread/unithread_malloc_lock.c | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/lib/libc/thread/unithread_malloc_lock.c b/lib/libc/thread/unithread_malloc_lock.c index 1b33b29a495..74855be7821 100644 --- a/lib/libc/thread/unithread_malloc_lock.c +++ b/lib/libc/thread/unithread_malloc_lock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: unithread_malloc_lock.c,v 1.3 2002/11/03 23:58:39 marc Exp $ */ +/* $OpenBSD: unithread_malloc_lock.c,v 1.4 2002/11/05 22:19:55 marc Exp $ */ #include <sys/cdefs.h> #include <pthread.h> @@ -6,16 +6,26 @@ WEAK_PROTOTYPE(_thread_malloc_lock); WEAK_PROTOTYPE(_thread_malloc_unlock); +WEAK_PROTOTYPE(_thread_malloc_init); WEAK_ALIAS(_thread_malloc_lock); WEAK_ALIAS(_thread_malloc_unlock); +WEAK_ALIAS(_thread_malloc_init); void -WEAK_NAME(_thread_malloc_lock)() +WEAK_NAME(_thread_malloc_lock)(void) { + return; } void -WEAK_NAME(_thread_malloc_unlock)() +WEAK_NAME(_thread_malloc_unlock)(void) { + return; +} + +void +WEAK_NAME(_thread_malloc_init)(void) +{ + return; } |