Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/jemalloc/dist/include/jemalloc/internal fix pro...
details: https://anonhg.NetBSD.org/src/rev/3ebb7ff0696c
branches: trunk
changeset: 449380:3ebb7ff0696c
user: christos <christos%NetBSD.org@localhost>
date: Mon Mar 04 20:04:43 2019 +0000
description:
fix prototypes
diffstat:
external/bsd/jemalloc/dist/include/jemalloc/internal/hooks.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r e1e2e83199e2 -r 3ebb7ff0696c external/bsd/jemalloc/dist/include/jemalloc/internal/hooks.h
--- a/external/bsd/jemalloc/dist/include/jemalloc/internal/hooks.h Mon Mar 04 20:04:30 2019 +0000
+++ b/external/bsd/jemalloc/dist/include/jemalloc/internal/hooks.h Mon Mar 04 20:04:43 2019 +0000
@@ -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)
Home |
Main Index |
Thread Index |
Old Index