summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-05 10:52:52 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-05 10:52:52 +0000
commit9f106a75dec42e9e619635a729d4a3c5d8c73e11 (patch)
tree3bae7355b4e88f2c9fcc417001d21433042fe988
parentb39bc503c171a1f1f39fe2958ddbf2ce75bbcc16 (diff)
downloadqemu-9f106a75dec42e9e619635a729d4a3c5d8c73e11.tar.gz
Make ioctl table static
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5426 c046a42c-6fe2-441c-8c8c-71466251a162
-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"