Commit 3e46b2ef2a4eed5e4e373e9126f6eddaed8ccda6
1 parent
674a24ac
Fix warning about unused function
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5406 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
0 deletions
linux-user/strace.c
| ... | ... | @@ -154,6 +154,7 @@ print_newselect(const struct syscallname *name, |
| 154 | 154 | } |
| 155 | 155 | #endif |
| 156 | 156 | |
| 157 | +#ifdef TARGET_NR_semctl | |
| 157 | 158 | static void |
| 158 | 159 | print_semctl(const struct syscallname *name, |
| 159 | 160 | abi_long arg1, abi_long arg2, abi_long arg3, |
| ... | ... | @@ -163,6 +164,7 @@ print_semctl(const struct syscallname *name, |
| 163 | 164 | print_ipc_cmd(arg3); |
| 164 | 165 | gemu_log(",0x" TARGET_ABI_FMT_lx ")", arg4); |
| 165 | 166 | } |
| 167 | +#endif | |
| 166 | 168 | |
| 167 | 169 | static void |
| 168 | 170 | print_execve(const struct syscallname *name, | ... | ... |