aboutsummaryrefslogtreecommitdiff
path: root/malloc
diff options
context:
space:
mode:
Diffstat (limited to 'malloc')
-rw-r--r--malloc/mcheck.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/malloc/mcheck.c b/malloc/mcheck.c
index 6a5f01e..3dd1c6b 100644
--- a/malloc/mcheck.c
+++ b/malloc/mcheck.c
@@ -369,8 +369,8 @@ mabort (enum mcheck_status status)
#define malloc_opt_barrier(x) \
({ __typeof (x) __x = x; __asm ("" : "+m" (__x)); __x; })
-int mcheck (func)
-void (*func)(enum mcheck_status);
+int
+mcheck (void (*func) (enum mcheck_status))
{
abortfunc = (func != NULL) ? func : &mabort;
@@ -400,8 +400,8 @@ void (*func)(enum mcheck_status);
libc_hidden_def (mcheck)
#endif
-int mcheck_pedantic (func)
-void (*func)(enum mcheck_status);
+int
+mcheck_pedantic (void (*func) (enum mcheck_status))
{
int res = mcheck (func);
if (res == 0)