aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorPatrik Nyblom <pan@erlang.org>2011-12-07 18:10:36 +0100
committerPatrik Nyblom <pan@erlang.org>2011-12-08 12:12:45 +0100
commitfcf8e08fd2b4c68ac98454fcd211ea0435eec01c (patch)
treec2403e967ccf04c4df3af4658b149000408822e9 /erts/emulator
parentac3cbe8bee6b826004c02a1d21f8093899716b33 (diff)
downloadotp-fcf8e08fd2b4c68ac98454fcd211ea0435eec01c.tar.gz
otp-fcf8e08fd2b4c68ac98454fcd211ea0435eec01c.tar.bz2
otp-fcf8e08fd2b4c68ac98454fcd211ea0435eec01c.zip
Declare hipe_mode_switch_debug extern in header
Fixes alignment warning from ld on 64bit platforms with gcc 4.6.1
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/hipe/hipe_mode_switch.h2
1 files changed, 1 insertions, 1 deletions
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);