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/sys/unix/sys.c | |
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/sys/unix/sys.c')
-rw-r--r-- | erts/emulator/sys/unix/sys.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/erts/emulator/sys/unix/sys.c b/erts/emulator/sys/unix/sys.c index 400ef6c0ce..f59f8a14d4 100644 --- a/erts/emulator/sys/unix/sys.c +++ b/erts/emulator/sys/unix/sys.c @@ -123,8 +123,6 @@ static ErtsSysReportExit *report_exit_transit_list; extern int check_async_ready(void); extern int driver_interrupt(int, int); -/*EXTERN_FUNCTION(void, increment_time, (int));*/ -/*EXTERN_FUNCTION(int, next_time, (_VOID_));*/ extern void do_break(void); extern void erl_sys_args(int*, char**); @@ -221,10 +219,10 @@ static struct fd_data { } *fd_data; /* indexed by fd */ /* static FUNCTION(int, write_fill, (int, char*, int)); unused? */ -static FUNCTION(void, note_child_death, (int, int)); +static void note_child_death(int, int); #if CHLDWTHR -static FUNCTION(void *, child_waiter, (void *)); +static void* child_waiter(void *); #endif /********************* General functions ****************************/ |