]> git.proxmox.com Git - qemu.git/commitdiff
Fix warning about unused function
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 3 Oct 2008 19:01:41 +0000 (19:01 +0000)
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 3 Oct 2008 19:01:41 +0000 (19:01 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5406 c046a42c-6fe2-441c-8c8c-71466251a162

linux-user/strace.c

index a8baebceac1e6fe2726bbd38c68e5b6acc2f9d8c..fca2f391d574ece21342254f9ea6ff82365ca851 100644 (file)
@@ -154,6 +154,7 @@ print_newselect(const struct syscallname *name,
 }
 #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_semctl(const struct syscallname *name,
     print_ipc_cmd(arg3);
     gemu_log(",0x" TARGET_ABI_FMT_lx ")", arg4);
 }
+#endif
 
 static void
 print_execve(const struct syscallname *name,