qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [5426] Make ioctl table static


From: Blue Swirl
Subject: [Qemu-devel] [5426] Make ioctl table static
Date: Sun, 05 Oct 2008 10:52:53 +0000

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
===================================================================
--- trunk/darwin-user/syscall.c 2008-10-05 10:51:10 UTC (rev 5425)
+++ trunk/darwin-user/syscall.c 2008-10-05 10:52:52 UTC (rev 5426)
@@ -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
===================================================================
--- trunk/linux-user/syscall.c  2008-10-05 10:51:10 UTC (rev 5425)
+++ trunk/linux-user/syscall.c  2008-10-05 10:52:52 UTC (rev 5426)
@@ -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"






reply via email to

[Prev in Thread] Current Thread [Next in Thread]