aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2017-09-04 17:20:07 +0200
committerLukas Larsson <[email protected]>2017-09-11 15:20:50 +0200
commit6eae9b508dc172ca207df6131bfa36e2aaf2333f (patch)
treea23eda0a1a53d35fc2bb5d866bc09212d4f31ef1 /erts/emulator/sys
parent2ae7a0a0fbf33e1fa8f1f35894b6468aa43f451b (diff)
downloadotp-6eae9b508dc172ca207df6131bfa36e2aaf2333f.tar.gz
otp-6eae9b508dc172ca207df6131bfa36e2aaf2333f.tar.bz2
otp-6eae9b508dc172ca207df6131bfa36e2aaf2333f.zip
Fix unused-functions warnings
Diffstat (limited to 'erts/emulator/sys')
-rw-r--r--erts/emulator/sys/unix/sys.c4
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)