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 /include | |
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 'include')
-rw-r--r-- | include/jemalloc/internal/util.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/include/jemalloc/internal/util.h b/include/jemalloc/internal/util.h index fa88bf3..8479693 100644 --- a/include/jemalloc/internal/util.h +++ b/include/jemalloc/internal/util.h @@ -84,6 +84,7 @@ int buferror(char *buf, size_t buflen); uintmax_t malloc_strtoumax(const char *nptr, char **endptr, int base); +void malloc_write(const char *s); /* * malloc_vsnprintf() supports a subset of snprintf(3) that avoids floating @@ -130,17 +131,6 @@ pow2_ceil(size_t x) return (x); } -/* - * Wrapper around malloc_message() that avoids the need for - * je_malloc_message(...) throughout the code. - */ -JEMALLOC_INLINE void -malloc_write(const char *s) -{ - - je_malloc_message(NULL, s); -} - /* Sets error code */ JEMALLOC_INLINE void set_errno(int errnum) |