diff options
author | Björn Gustavsson <[email protected]> | 2010-08-14 11:46:48 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-08-17 11:01:25 +0200 |
commit | a70159b33f20a26b2674d7cf777617c5f0261a5c (patch) | |
tree | 379f76d92be43c70ea566648b68ed73209aa5326 /erts/emulator/drivers/common | |
parent | 0c16a4c331d39a1e3ade8b9a6b42176740a36048 (diff) | |
download | otp-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/drivers/common')
-rw-r--r-- | erts/emulator/drivers/common/efile_drv.c | 2 | ||||
-rw-r--r-- | erts/emulator/drivers/common/inet_drv.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/drivers/common/efile_drv.c b/erts/emulator/drivers/common/efile_drv.c index 60ae4cb108..c450f10f48 100644 --- a/erts/emulator/drivers/common/efile_drv.c +++ b/erts/emulator/drivers/common/efile_drv.c @@ -104,7 +104,7 @@ #include <ctype.h> #include <sys/types.h> -extern void erl_exit(int n, char *fmt, _DOTS_); +void erl_exit(int n, char *fmt, ...); static ErlDrvSysInfo sys_info; diff --git a/erts/emulator/drivers/common/inet_drv.c b/erts/emulator/drivers/common/inet_drv.c index 0ea54930ba..059288d1cb 100644 --- a/erts/emulator/drivers/common/inet_drv.c +++ b/erts/emulator/drivers/common/inet_drv.c @@ -1045,7 +1045,7 @@ struct erl_drv_entry inet_driver_entry = }; /* XXX: is this a driver interface function ??? */ -extern void erl_exit(int n, char*, _DOTS_); +void erl_exit(int n, char*, ...); /* * Malloc wrapper, |