diff options
author | Patrik Nyblom <[email protected]> | 2011-12-07 18:10:36 +0100 |
---|---|---|
committer | Patrik Nyblom <[email protected]> | 2011-12-08 12:12:45 +0100 |
commit | fcf8e08fd2b4c68ac98454fcd211ea0435eec01c (patch) | |
tree | c2403e967ccf04c4df3af4658b149000408822e9 | |
parent | ac3cbe8bee6b826004c02a1d21f8093899716b33 (diff) | |
download | otp-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
-rw-r--r-- | erts/emulator/hipe/hipe_mode_switch.h | 2 |
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); |