diff options
author | Jason Evans <jasone@canonware.com> | 2012-05-02 09:08:03 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2012-05-02 09:08:03 (GMT) |
commit | 889ec59bd3ae3190fb715e64d8d15b6a1b47314a (patch) | |
tree | be11bac0a45d54c0759cef991846f996f5af17de /src/util.c | |
parent | 8d5865eb578e99369382d90bdd1e557e5b233277 (diff) | |
download | jemalloc-889ec59bd3ae3190fb715e64d8d15b6a1b47314a.zip jemalloc-889ec59bd3ae3190fb715e64d8d15b6a1b47314a.tar.gz jemalloc-889ec59bd3ae3190fb715e64d8d15b6a1b47314a.tar.bz2 |
Make malloc_write() non-inline.
Make malloc_write() non-inline, in order to resolve its dependency on
je_malloc_write().
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -60,6 +60,17 @@ JEMALLOC_EXPORT void (*je_malloc_message)(void *, const char *s) = wrtmessage; /* + * Wrapper around malloc_message() that avoids the need for + * je_malloc_message(...) throughout the code. + */ +void +malloc_write(const char *s) +{ + + je_malloc_message(NULL, s); +} + +/* * glibc provides a non-standard strerror_r() when _GNU_SOURCE is defined, so * provide a wrapper. */ |