提交 9f106a75 编写于 作者: B blueswir1

Make ioctl table static

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5426 c046a42c-6fe2-441c-8c8c-71466251a162
上级 b39bc503
......@@ -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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册