Skip to contentSkip to conversation

[5406] Fix warning about unused function

Qemu-devel Blue Swirl 1 participant 1 message Oct 3, 2008

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Revision: 5406

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5406
Author:   blueswir1
Date:     2008-10-03 19:01:41 +0000 (Fri, 03 Oct 2008)

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

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

Modified: trunk/linux-user/strace.c
===================================================================

linux-user/strace.c +2 -0
@@ -154,6 +154,7 @@
 }
 #endif
 
+#ifdef TARGET_NR_semctl
 static void
 print_semctl(const struct syscallname *name,
              abi_long arg1, abi_long arg2, abi_long arg3,
@@ -163,6 +164,7 @@
     print_ipc_cmd(arg3);
     gemu_log(",0x" TARGET_ABI_FMT_lx ")", arg4);
 }
+#endif
 
 static void
 print_execve(const struct syscallname *name,