diff options
author | Lukas Larsson <[email protected]> | 2017-09-11 15:21:12 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2017-09-11 15:21:12 +0200 |
commit | 8636dcaf22432712a63b26fffe9b0fb0ff451374 (patch) | |
tree | 10de7a829de6cc82fe0b9e60cb49db1f6d5fe861 /erts/emulator/sys/unix | |
parent | eee9dc863a4dc806ee48eea07da08bd87ab0bb0c (diff) | |
parent | 9b085b7f6d7dddcb83924c4fa50e18e8aec3c74d (diff) | |
download | otp-8636dcaf22432712a63b26fffe9b0fb0ff451374.tar.gz otp-8636dcaf22432712a63b26fffe9b0fb0ff451374.tar.bz2 otp-8636dcaf22432712a63b26fffe9b0fb0ff451374.zip |
Merge branch 'lukas/erts/fix_warnings' into maint
* lukas/erts/fix_warnings:
Fix some clang warnings
Fix unused-functions warnings
Diffstat (limited to 'erts/emulator/sys/unix')
-rw-r--r-- | erts/emulator/sys/unix/sys.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/sys/unix/sys.c b/erts/emulator/sys/unix/sys.c index 50d8a35217..c1fa660cf9 100644 --- a/erts/emulator/sys/unix/sys.c +++ b/erts/emulator/sys/unix/sys.c @@ -789,6 +789,8 @@ signalterm_to_signum(Eterm signal) } } +#ifdef ERTS_SMP + static ERTS_INLINE Eterm signum_to_signalterm(int signum) { @@ -810,6 +812,8 @@ signum_to_signalterm(int signum) } } +#endif + #ifndef ERTS_SMP static ERTS_INLINE Uint signum_to_signalstate(int signum) |