aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/global.h
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-08-14 11:46:48 +0200
committerBjörn Gustavsson <[email protected]>2010-08-17 11:01:25 +0200
commita70159b33f20a26b2674d7cf777617c5f0261a5c (patch)
tree379f76d92be43c70ea566648b68ed73209aa5326 /erts/emulator/beam/global.h
parent0c16a4c331d39a1e3ade8b9a6b42176740a36048 (diff)
downloadotp-a70159b33f20a26b2674d7cf777617c5f0261a5c.tar.gz
otp-a70159b33f20a26b2674d7cf777617c5f0261a5c.tar.bz2
otp-a70159b33f20a26b2674d7cf777617c5f0261a5c.zip
erts: Remove stray pre-ISO-C compatibility macros
A long time ago, the Erlang run-time system could be build with pre-ANSI/ISO-C (K&R) C compilers, but that is no longer possible. Remove the remaining uses of the compatibility macros that made it possible that possible.
Diffstat (limited to 'erts/emulator/beam/global.h')
-rw-r--r--erts/emulator/beam/global.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h
index 064dc69da8..280421952e 100644
--- a/erts/emulator/beam/global.h
+++ b/erts/emulator/beam/global.h
@@ -1026,7 +1026,7 @@ void print_pass_through(int, byte*, int);
/* beam_emu.c */
int catchlevel(Process*);
-void init_emulator(_VOID_);
+void init_emulator(void);
void process_main(void);
Eterm build_stacktrace(Process* c_p, Eterm exc);
Eterm expand_error_value(Process* c_p, Uint freason, Eterm Value);
@@ -1686,7 +1686,7 @@ int io_list_to_buf(Eterm, char*, int);
int io_list_to_buf2(Eterm, char*, int);
int io_list_len(Eterm);
int is_string(Eterm);
-void erl_at_exit(FUNCTION(void,(*),(void*)), void*);
+void erl_at_exit(void (*) (void*), void*);
Eterm collect_memory(Process *);
void dump_memory_to_fd(int);
int dump_memory_data(const char *);