From 60dd316ea735c5cb9d8f4fbba1d2262ef0765e88 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Sun, 5 Oct 2008 11:45:25 +0000 Subject: Make various generated structures static git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5429 c046a42c-6fe2-441c-8c8c-71466251a162 --- linux-user/syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux-user') diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 0cf4ba77cb..f1f050ee62 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -2119,7 +2119,7 @@ enum { #undef STRUCT #undef STRUCT_SPECIAL -#define STRUCT(name, list...) const argtype struct_ ## name ## _def[] = { list, TYPE_NULL }; +#define STRUCT(name, list...) static const argtype struct_ ## name ## _def[] = { list, TYPE_NULL }; #define STRUCT_SPECIAL(name) #include "syscall_types.h" #undef STRUCT -- cgit v1.2.3-55-g7522