diff options
author | Jan Beich <jbeich@tormail.org> | 2012-09-18 12:40:31 (GMT) |
---|---|---|
committer | Jason Evans <je@fb.com> | 2012-10-10 16:10:37 (GMT) |
commit | d0ffd8ed4f6aa4cf7248028eddfcb35f93247fe4 (patch) | |
tree | 6b1fb4c53fe51e653aeedc228435659ba5908513 | |
parent | 2cc11ff83748be63302b0289a3abb1d86e1e437f (diff) | |
download | jemalloc-d0ffd8ed4f6aa4cf7248028eddfcb35f93247fe4.zip jemalloc-d0ffd8ed4f6aa4cf7248028eddfcb35f93247fe4.tar.gz jemalloc-d0ffd8ed4f6aa4cf7248028eddfcb35f93247fe4.tar.bz2 |
mark _pthread_mutex_init_calloc_cb as public explicitly
Mozilla build hides everything by default using visibility pragma and
unhides only explicitly listed headers. But this doesn't work on FreeBSD
because _pthread_mutex_init_calloc_cb is neither documented nor exposed
via any header.
-rw-r--r-- | src/mutex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mutex.c b/src/mutex.c index 37a843e..55e18c2 100644 --- a/src/mutex.c +++ b/src/mutex.c @@ -64,7 +64,7 @@ pthread_create(pthread_t *__restrict thread, /******************************************************************************/ #ifdef JEMALLOC_MUTEX_INIT_CB -int _pthread_mutex_init_calloc_cb(pthread_mutex_t *mutex, +JEMALLOC_EXPORT int _pthread_mutex_init_calloc_cb(pthread_mutex_t *mutex, void *(calloc_cb)(size_t, size_t)); #endif |