summaryrefslogtreecommitdiff
path: root/src/lib/libc/include/thread_private.h
diff options
context:
space:
mode:
authorguenther <>2016-10-15 18:24:40 +0000
committerguenther <>2016-10-15 18:24:40 +0000
commita5593cbfdf09c39fb89451e83f00de99d806660f (patch)
tree55d463b414dc2b1c436f8857074759dd31f5a017 /src/lib/libc/include/thread_private.h
parentfd9bf17b83993290e35c8d524c712af4003fa6ba (diff)
downloadopenbsd-a5593cbfdf09c39fb89451e83f00de99d806660f.tar.gz
openbsd-a5593cbfdf09c39fb89451e83f00de99d806660f.tar.bz2
openbsd-a5593cbfdf09c39fb89451e83f00de99d806660f.zip
Wrap _malloc_init() so internal calls go directly
prodded by otto@ ok kettenis@ otto@
Diffstat (limited to 'src/lib/libc/include/thread_private.h')
-rw-r--r--src/lib/libc/include/thread_private.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libc/include/thread_private.h b/src/lib/libc/include/thread_private.h
index 81caaaae68..b443e32e83 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.28 2016/09/01 10:41:02 otto Exp $ */ 1/* $OpenBSD: thread_private.h,v 1.29 2016/10/15 18:24:40 guenther 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
@@ -9,6 +9,9 @@
9 9
10#define _MALLOC_MUTEXES 4 10#define _MALLOC_MUTEXES 4
11void _malloc_init(int); 11void _malloc_init(int);
12#ifdef __LIBC__
13PROTO_NORMAL(_malloc_init);
14#endif /* __LIBC__ */
12 15
13/* 16/*
14 * The callbacks needed by libc to handle the threaded case. 17 * The callbacks needed by libc to handle the threaded case.