commit | 3362e89f66acde52605c654d904b2aebceb92297 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Thu Mar 15 01:09:19 2012 -0400 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Thu Mar 15 20:14:28 2012 +0000 |
tree | 3f466e4db489ee4951836020b6a30164730c2fe2 | |
parent | dde045c13f77ca477aa59e19d0b50ae4afa906b6 [diff] |
improve ifdef check with decode_subcall Use the same ifdef logic around the call sites of decode_subcall() to protect the definition of the func itself. This fixes warnings for targets like hppa which don't use this func. * syscall.c (decode_subcall): Wrap in SYS_socket_subcall and SYS_ipc_subcall define checks. Signed-off-by: Mike Frysinger <vapier@gentoo.org>