Skip to contentSkip to conversation

[5429] Make various generated structures static

Qemu-devel Blue Swirl 1 participant 1 message Oct 5, 2008

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Revision: 5429

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5429
Author:   blueswir1
Date:     2008-10-05 11:45:25 +0000 (Sun, 05 Oct 2008)

Log Message:
-----------
Make various generated structures static

Modified Paths:
--------------
trunk/linux-user/syscall.c

Modified: trunk/linux-user/syscall.c
===================================================================

linux-user/syscall.c +1 -1
@@ -2119,7 +2119,7 @@
 #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