Skip to contentSkip to conversation

[5426] Make ioctl table static

Qemu-devel Blue Swirl 1 participant 1 message Oct 5, 2008

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Revision: 5426

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5426
Author:   blueswir1
Date:     2008-10-05 10:52:52 +0000 (Sun, 05 Oct 2008)

Log Message:
-----------
Make ioctl table static

Modified Paths:
--------------
trunk/darwin-user/syscall.c
trunk/linux-user/syscall.c

Modified: trunk/darwin-user/syscall.c
===================================================================

darwin-user/syscall.c +1 -1
@@ -654,7 +654,7 @@
 
 #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"

Modified: trunk/linux-user/syscall.c
===================================================================

linux-user/syscall.c +1 -1
@@ -2139,7 +2139,7 @@
 
 #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"