From fcf8e08fd2b4c68ac98454fcd211ea0435eec01c Mon Sep 17 00:00:00 2001 From: Patrik Nyblom Date: Wed, 7 Dec 2011 18:10:36 +0100 Subject: Declare hipe_mode_switch_debug extern in header Fixes alignment warning from ld on 64bit platforms with gcc 4.6.1 --- erts/emulator/hipe/hipe_mode_switch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erts/emulator/hipe/hipe_mode_switch.h b/erts/emulator/hipe/hipe_mode_switch.h index dbc2386e14..a3e908a3b3 100644 --- a/erts/emulator/hipe/hipe_mode_switch.h +++ b/erts/emulator/hipe/hipe_mode_switch.h @@ -49,7 +49,7 @@ #include "error.h" -int hipe_modeswitch_debug; +extern int hipe_modeswitch_debug; void hipe_mode_switch_init(void); void hipe_set_call_trap(Uint *bfun, void *nfun, int is_closure); -- cgit v1.2.3