fix prototypes

This commit is contained in:
christos 2019-03-04 20:04:43 +00:00
parent 09e980e902
commit 36cc706d2e

View File

@ -1,8 +1,8 @@
#ifndef JEMALLOC_INTERNAL_HOOKS_H
#define JEMALLOC_INTERNAL_HOOKS_H
extern JEMALLOC_EXPORT void (*hooks_arena_new_hook)();
extern JEMALLOC_EXPORT void (*hooks_libc_hook)();
extern JEMALLOC_EXPORT void (*hooks_arena_new_hook)(void);
extern JEMALLOC_EXPORT void (*hooks_libc_hook)(void);
#define JEMALLOC_HOOK(fn, hook) ((void)(hook != NULL && (hook(), 0)), fn)