qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [6001] Fix warning about unused shm_regions
@ 2008-12-13 11:37 Blue Swirl
  0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2008-12-13 11:37 UTC (permalink / raw)
  To: qemu-devel

Revision: 6001
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6001
Author:   blueswir1
Date:     2008-12-13 11:37:02 +0000 (Sat, 13 Dec 2008)

Log Message:
-----------
Fix warning about unused shm_regions

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

Modified: trunk/linux-user/syscall.c
===================================================================
--- trunk/linux-user/syscall.c	2008-12-13 09:32:43 UTC (rev 6000)
+++ trunk/linux-user/syscall.c	2008-12-13 11:37:02 UTC (rev 6001)
@@ -1614,12 +1614,14 @@
 }
 #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
 {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-13 11:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-13 11:37 [Qemu-devel] [6001] Fix warning about unused shm_regions Blue Swirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).