From: Paul Moore <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
---
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 0d83e970..74b9dc00 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 fcfd5e5a..8f2d42b5 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 39c2f096..a1178f51 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:
--
You received this message because you are subscribed to the Google Groups
"libseccomp" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.