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:
parent
b39bc503c1
commit
9f106a75de
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user