summaryrefslogtreecommitdiff
path: root/src/arch-x86.c
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2017-02-23 19:48:46 -0500
committerPaul Moore <paul@paul-moore.com>2017-02-23 19:48:46 -0500
commitbee71b1c6493dba41725f53592184680958f09af (patch)
tree6a9d3cae44d1d04a101abf72b12b56799ef5eb3c /src/arch-x86.c
parentff34ac33ecd61c27ac26afd87d4f15c93ec7e3ac (diff)
downloadlibseccomp-bee71b1c6493dba41725f53592184680958f09af.tar.gz
all: mark a number of static functions as static
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'src/arch-x86.c')
-rw-r--r--src/arch-x86.c4
1 files changed, 2 insertions, 2 deletions
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: