Make ioctl table static

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5426 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
blueswir1 2008-10-05 10:52:52 +00:00
parent b39bc503c1
commit 9f106a75de
2 changed files with 2 additions and 2 deletions

View 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"

View 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"