From bee71b1c6493dba41725f53592184680958f09af Mon Sep 17 00:00:00 2001 From: Paul Moore Date: Thu, 23 Feb 2017 19:48:46 -0500 Subject: all: mark a number of static functions as static Signed-off-by: Paul Moore --- src/arch-s390.c | 4 ++-- src/arch-s390x.c | 4 ++-- src/arch-x86.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/arch-s390.c b/src/arch-s390.c index 0d83e97..74b9dc0 100644 --- a/src/arch-s390.c +++ b/src/arch-s390.c @@ -34,7 +34,7 @@ const struct arch_def arch_def_s390 = { * no related syscall, or __NR_SCMP_ERROR otherwise. * */ -int _s390_sock_demux(int socketcall) +static int _s390_sock_demux(int socketcall) { switch (socketcall) { case -101: @@ -110,7 +110,7 @@ int _s390_sock_demux(int socketcall) * there is no related pseudo syscall, or __NR_SCMP_ERROR otherwise. * */ -int _s390_sock_mux(int syscall) +static int _s390_sock_mux(int syscall) { switch (syscall) { case 337: diff --git a/src/arch-s390x.c b/src/arch-s390x.c index fcfd5e5..8f2d42b 100644 --- a/src/arch-s390x.c +++ b/src/arch-s390x.c @@ -34,7 +34,7 @@ const struct arch_def arch_def_s390x = { * no related syscall, or __NR_SCMP_ERROR otherwise. * */ -int _s390x_sock_demux(int socketcall) +static int _s390x_sock_demux(int socketcall) { switch (socketcall) { case -101: @@ -110,7 +110,7 @@ int _s390x_sock_demux(int socketcall) * there is no related pseudo syscall, or __NR_SCMP_ERROR otherwise. * */ -int _s390x_sock_mux(int syscall) +static int _s390x_sock_mux(int syscall) { switch (syscall) { case 337: diff --git a/src/arch-x86.c b/src/arch-x86.c index 39c2f09..a1178f5 100644 --- a/src/arch-x86.c +++ b/src/arch-x86.c @@ -50,7 +50,7 @@ const struct arch_def arch_def_x86 = { * no related syscall, or __NR_SCMP_ERROR otherwise. * */ -int _x86_sock_demux(int socketcall) +static int _x86_sock_demux(int socketcall) { switch (socketcall) { case -101: @@ -126,7 +126,7 @@ int _x86_sock_demux(int socketcall) * there is no related pseudo syscall, or __NR_SCMP_ERROR otherwise. * */ -int _x86_sock_mux(int syscall) +static int _x86_sock_mux(int syscall) { switch (syscall) { case 337: -- cgit v1.2.1