From: blueswir1 Date: Sat, 13 Dec 2008 11:37:02 +0000 (+0000) Subject: Fix warning about unused shm_regions X-Git-Tag: TizenStudio_2.0_p2.3~10225 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9cf250fdf317cfb656a81026b2385796990b0f1d;p=sdk%2Femulator%2Fqemu.git Fix warning about unused shm_regions git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6001 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 4065917..73427ab 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 {