summaryrefslogtreecommitdiff
path: root/src/lib/libc/include/thread_private.h
diff options
context:
space:
mode:
authorotto <>2008-06-13 21:18:42 +0000
committerotto <>2008-06-13 21:18:42 +0000
commitb65da525816f8a4366b3b8f09e0bbcec6ec867a6 (patch)
tree5dfba3d36482ad2ce278e789fa21c9470ce67446 /src/lib/libc/include/thread_private.h
parent6b7d41f8c5a19961e127bc5168f899e7da8fee47 (diff)
downloadopenbsd-b65da525816f8a4366b3b8f09e0bbcec6ec867a6.tar.gz
openbsd-b65da525816f8a4366b3b8f09e0bbcec6ec867a6.tar.bz2
openbsd-b65da525816f8a4366b3b8f09e0bbcec6ec867a6.zip
remove _MALLOC_LOCK_INIT; major bump; ok deraadt@
Diffstat (limited to 'src/lib/libc/include/thread_private.h')
-rw-r--r--src/lib/libc/include/thread_private.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libc/include/thread_private.h b/src/lib/libc/include/thread_private.h
index f55880f7ba..c36bb02c5a 100644
--- a/src/lib/libc/include/thread_private.h
+++ b/src/lib/libc/include/thread_private.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: thread_private.h,v 1.22 2008/01/01 00:43:39 kurt Exp $ */ 1/* $OpenBSD: thread_private.h,v 1.23 2008/06/13 21:18:42 otto Exp $ */
2 2
3/* PUBLIC DOMAIN: No Rights Reserved. Marco S Hyman <marc@snafu.org> */ 3/* PUBLIC DOMAIN: No Rights Reserved. Marco S Hyman <marc@snafu.org> */
4 4
@@ -133,10 +133,6 @@ void _thread_malloc_unlock(void);
133 if (__isthreaded) \ 133 if (__isthreaded) \
134 _thread_malloc_unlock();\ 134 _thread_malloc_unlock();\
135 } while (0) 135 } while (0)
136#define _MALLOC_LOCK_INIT() do { \
137 if (__isthreaded) \
138 _thread_malloc_init();\
139 } while (0)
140 136
141void _thread_atexit_lock(void); 137void _thread_atexit_lock(void);
142void _thread_atexit_unlock(void); 138void _thread_atexit_unlock(void);