diff options
author | Lukas Larsson <[email protected]> | 2014-12-05 10:14:51 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2014-12-19 10:39:52 +0100 |
commit | e2a600341324d2ce3689119f8fd61b248702d79f (patch) | |
tree | a8d18d02b1662355026874afe1b336c13283875c /erts/emulator/sys/unix/erl_unix_sys.h | |
parent | b8a2313263d0f120dacbe82ced5c99545bbd15a3 (diff) | |
download | otp-e2a600341324d2ce3689119f8fd61b248702d79f.tar.gz otp-e2a600341324d2ce3689119f8fd61b248702d79f.tar.bz2 otp-e2a600341324d2ce3689119f8fd61b248702d79f.zip |
erts: Rename sys_sigset to sys_signal
Also removed old legacy fallback that is no longer used
Diffstat (limited to 'erts/emulator/sys/unix/erl_unix_sys.h')
-rw-r--r-- | erts/emulator/sys/unix/erl_unix_sys.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/erts/emulator/sys/unix/erl_unix_sys.h b/erts/emulator/sys/unix/erl_unix_sys.h index 26ed2fb558..bc55fab8fb 100644 --- a/erts/emulator/sys/unix/erl_unix_sys.h +++ b/erts/emulator/sys/unix/erl_unix_sys.h @@ -211,13 +211,8 @@ int sys_stop_hrvtime(void); #define SYS_CLOCK_RESOLUTION 1 /* These are defined in sys.c */ -#if defined(SIG_SIGSET) /* Old SysV */ -RETSIGTYPE (*sys_sigset())(); -#elif defined(SIG_SIGNAL) /* Old BSD */ -RETSIGTYPE (*sys_sigset())(); -#else -RETSIGTYPE (*sys_sigset(int, RETSIGTYPE (*func)(int)))(int); -#endif +typedef void (*SIGFUNC)(int); +extern SIGFUNC sys_signal(int, SIGFUNC); extern void sys_sigrelease(int); extern void sys_sigblock(int); extern void sys_stop_cat(void); |