summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--darwin-user/syscall.c2
-rw-r--r--linux-user/syscall.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/darwin-user/syscall.c b/darwin-user/syscall.c
index ae39f9a93b..8bf365d4b2 100644
--- a/darwin-user/syscall.c
+++ b/darwin-user/syscall.c
@@ -654,7 +654,7 @@ typedef struct IOCTLEntry {
#define MAX_STRUCT_SIZE 4096
-IOCTLEntry ioctl_entries[] = {
+static IOCTLEntry ioctl_entries[] = {
#define IOCTL(cmd, access, types...) \
{ cmd, cmd, #cmd, access, { types } },
#include "ioctls.h"
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index ab7bfcb610..0cf4ba77cb 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -2139,7 +2139,7 @@ typedef struct IOCTLEntry {
#define MAX_STRUCT_SIZE 4096
-IOCTLEntry ioctl_entries[] = {
+static IOCTLEntry ioctl_entries[] = {
#define IOCTL(cmd, access, types...) \
{ TARGET_ ## cmd, cmd, #cmd, access, { types } },
#include "ioctls.h"