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/src fix prototypes



details:   https://anonhg.NetBSD.org/src/rev/64a26ae897f8
branches:  trunk
changeset: 449350:64a26ae897f8
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Mar 04 17:19:14 2019 +0000

description:
fix prototypes

diffstat:

 external/bsd/jemalloc/dist/src/hooks.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (13 lines):

diff -r 72f45a9363d2 -r 64a26ae897f8 external/bsd/jemalloc/dist/src/hooks.c
--- a/external/bsd/jemalloc/dist/src/hooks.c    Mon Mar 04 17:18:53 2019 +0000
+++ b/external/bsd/jemalloc/dist/src/hooks.c    Mon Mar 04 17:19:14 2019 +0000
@@ -6,7 +6,7 @@
  * from outside the generated library, so that we can use them in test code.
  */
 JEMALLOC_EXPORT
-void (*hooks_arena_new_hook)() = NULL;
+void (*hooks_arena_new_hook)(void) = NULL;
 
 JEMALLOC_EXPORT
-void (*hooks_libc_hook)() = NULL;
+void (*hooks_libc_hook)(void) = NULL;



Home | Main Index | Thread Index | Old Index