Commit 60dd316ea735c5cb9d8f4fbba1d2262ef0765e88
1 parent
249c4c32
Make various generated structures static
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5429 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
linux-user/syscall.c
... | ... | @@ -2119,7 +2119,7 @@ enum { |
2119 | 2119 | #undef STRUCT |
2120 | 2120 | #undef STRUCT_SPECIAL |
2121 | 2121 | |
2122 | -#define STRUCT(name, list...) const argtype struct_ ## name ## _def[] = { list, TYPE_NULL }; | |
2122 | +#define STRUCT(name, list...) static const argtype struct_ ## name ## _def[] = { list, TYPE_NULL }; | |
2123 | 2123 | #define STRUCT_SPECIAL(name) |
2124 | 2124 | #include "syscall_types.h" |
2125 | 2125 | #undef STRUCT | ... | ... |