]> xenbits.xensource.com Git - qemu-xen-3.4-testing.git/commitdiff
Make various generated structures static
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 5 Oct 2008 11:45:25 +0000 (11:45 +0000)
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 5 Oct 2008 11:45:25 +0000 (11:45 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5429 c046a42c-6fe2-441c-8c8c-71466251a162

linux-user/syscall.c

index 0cf4ba77cb9b977ec64b3df3c4a28d802c9e04bc..f1f050ee625d2cd55e81ea2bcd7be08abfae6984 100644 (file)
@@ -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