diff options
Diffstat (limited to 'src/lib/libc/include')
| -rw-r--r-- | src/lib/libc/include/thread_private.h | 5 |
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 |
| 11 | void _malloc_init(int); | 11 | void _malloc_init(int); |
| 12 | #ifdef __LIBC__ | ||
| 13 | PROTO_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. |
