diff options
author | Paul Moore <paul@paul-moore.com> | 2017-02-23 19:48:46 -0500 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2017-02-23 19:48:46 -0500 |
commit | bee71b1c6493dba41725f53592184680958f09af (patch) | |
tree | 6a9d3cae44d1d04a101abf72b12b56799ef5eb3c | |
parent | ff34ac33ecd61c27ac26afd87d4f15c93ec7e3ac (diff) | |
download | libseccomp-bee71b1c6493dba41725f53592184680958f09af.tar.gz |
all: mark a number of static functions as static
Signed-off-by: Paul Moore <paul@paul-moore.com>
-rw-r--r-- | src/arch-s390.c | 4 | ||||
-rw-r--r-- | src/arch-s390x.c | 4 | ||||
-rw-r--r-- | 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: |