From bc43ad10a3896e94d0d90ea4713877ca41eb72c4 Mon Sep 17 00:00:00 2001 From: Zoltan Varga Date: Fri, 1 Jun 2012 13:58:33 +0200 Subject: [PATCH] Fix warnings. --- include/private/gc_priv.h | 4 ++-- include/private/gcconfig.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/private/gc_priv.h b/include/private/gc_priv.h index da49c0a4..e0a93312 100644 --- a/include/private/gc_priv.h +++ b/include/private/gc_priv.h @@ -403,9 +403,9 @@ void GC_print_callers GC_PROTO((struct callinfo info[NFRAMES])); # define ENABLE_SIGNALS() # else # define DISABLE_SIGNALS() GC_disable_signals() - void GC_disable_signals(); + void GC_disable_signals(void); # define ENABLE_SIGNALS() GC_enable_signals() - void GC_enable_signals(); + void GC_enable_signals(void); # endif # endif diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h index 4f7a080e..da15e905 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -326,7 +326,9 @@ # define DATASTART ((ptr_t) get_etext()) # define DATAEND ((ptr_t) get_end()) # define STACKBOTTOM ((ptr_t) pthread_get_stackaddr_np(pthread_self())) +#ifndef USE_MMAP # define USE_MMAP +#endif # define USE_MMAP_ANON # define USE_ASM_PUSH_REGS /* This is potentially buggy. It needs more testing. See the comments in -- 2.40.0