]> git.proxmox.com Git - qemu.git/commitdiff
Make ioctl table static
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 5 Oct 2008 10:52:52 +0000 (10:52 +0000)
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 5 Oct 2008 10:52:52 +0000 (10:52 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5426 c046a42c-6fe2-441c-8c8c-71466251a162

darwin-user/syscall.c
linux-user/syscall.c

index ae39f9a93b673a45e9b28a61207c6733359df2b9..8bf365d4b27c2b1902b621473da858009a3b9c09 100644 (file)
@@ -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"
index ab7bfcb610569ddc3ebe160b2f118aea84961d16..0cf4ba77cb9b977ec64b3df3c4a28d802c9e04bc 100644 (file)
@@ -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"