summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/sigchain.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/sigchain.c')
-rw-r--r--tools/perf/util/sigchain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/sigchain.c b/tools/perf/util/sigchain.c
index 1118b99e57d3..ba785e9b1841 100644
--- a/tools/perf/util/sigchain.c
+++ b/tools/perf/util/sigchain.c
@@ -16,7 +16,7 @@ static void check_signum(int sig)
die("BUG: signal out of range: %d", sig);
}
-int sigchain_push(int sig, sigchain_fun f)
+static int sigchain_push(int sig, sigchain_fun f)
{
struct sigchain_signal *s = signals + sig;
check_signum(sig);