From a5593cbfdf09c39fb89451e83f00de99d806660f Mon Sep 17 00:00:00 2001 From: guenther <> Date: Sat, 15 Oct 2016 18:24:40 +0000 Subject: Wrap _malloc_init() so internal calls go directly prodded by otto@ ok kettenis@ otto@ --- src/lib/libc/include/thread_private.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/lib/libc/include') 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 @@ -/* $OpenBSD: thread_private.h,v 1.28 2016/09/01 10:41:02 otto Exp $ */ +/* $OpenBSD: thread_private.h,v 1.29 2016/10/15 18:24:40 guenther Exp $ */ /* PUBLIC DOMAIN: No Rights Reserved. Marco S Hyman */ @@ -9,6 +9,9 @@ #define _MALLOC_MUTEXES 4 void _malloc_init(int); +#ifdef __LIBC__ +PROTO_NORMAL(_malloc_init); +#endif /* __LIBC__ */ /* * The callbacks needed by libc to handle the threaded case. -- cgit v1.2.3-55-g6feb