From 9f106a75dec42e9e619635a729d4a3c5d8c73e11 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Sun, 5 Oct 2008 10:52:52 +0000 Subject: [PATCH] Make ioctl table static git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5426 c046a42c-6fe2-441c-8c8c-71466251a162 --- darwin-user/syscall.c | 2 +- linux-user/syscall.c | 2 +- 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" -- 2.11.0