aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-03 19:01:41 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-03 19:01:41 +0000
commit3e46b2ef2a4eed5e4e373e9126f6eddaed8ccda6 (patch)
tree237aa5cb6b1e84e00cf78ab7707c8091b3677aaa /linux-user
parent674a24acf77b3456717ca2c6cd15c9cc0ab3c580 (diff)
downloadqemu-3e46b2ef2a4eed5e4e373e9126f6eddaed8ccda6.zip
qemu-3e46b2ef2a4eed5e4e373e9126f6eddaed8ccda6.tar.gz
qemu-3e46b2ef2a4eed5e4e373e9126f6eddaed8ccda6.tar.bz2
Fix warning about unused function
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5406 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/strace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/strace.c b/linux-user/strace.c
index a8baebc..fca2f39 100644
--- a/linux-user/strace.c
+++ b/linux-user/strace.c
@@ -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,