Fix warning about unused shm_regions

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6001 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
blueswir1 2008-12-13 11:37:02 +00:00
parent 1d6198c3b0
commit 3f911a51b2
1 changed files with 2 additions and 0 deletions

View File

@ -1614,12 +1614,14 @@ static abi_long do_socketcall(int num, abi_ulong vptr)
} }
#endif #endif
#ifdef TARGET_NR_ipc
#define N_SHM_REGIONS 32 #define N_SHM_REGIONS 32
static struct shm_region { static struct shm_region {
abi_ulong start; abi_ulong start;
abi_ulong size; abi_ulong size;
} shm_regions[N_SHM_REGIONS]; } shm_regions[N_SHM_REGIONS];
#endif
struct target_ipc_perm struct target_ipc_perm
{ {