aboutsummaryrefslogtreecommitdiff
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-13 11:37:02 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-13 11:37:02 +0000
commit3f911a51b20e69851e7091a076adecdae3d1b5de (patch)
tree9acfbd14927fa554803ebc78b115c5e61317c940 /linux-user/syscall.c
parent1d6198c3b01619151f3227c6461b3d53eeb711e5 (diff)
Fix warning about unused shm_regions
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6001 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/syscall.c')
-rw-r--r--linux-user/syscall.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 4065917848..73427abb3b 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -1614,12 +1614,14 @@ static abi_long do_socketcall(int num, abi_ulong vptr)
}
#endif
+#ifdef TARGET_NR_ipc
#define N_SHM_REGIONS 32
static struct shm_region {
abi_ulong start;
abi_ulong size;
} shm_regions[N_SHM_REGIONS];
+#endif
struct target_ipc_perm
{