diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2012-02-25 02:38:52 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2012-02-25 02:38:52 +0100 |
commit | 8470374cba7df0e70653d95c4f336a4082c68d82 (patch) | |
tree | c19e6dbf96fae4d4229bc7fc79fd3b0d5edeebe4 /io.c | |
parent | 5afdf12572bee4ddf5a7b136d94fde024a01f642 (diff) | |
download | strace-8470374cba7df0e70653d95c4f336a4082c68d82.tar.gz strace-8470374cba7df0e70653d95c4f336a4082c68d82.tar.bz2 strace-8470374cba7df0e70653d95c4f336a4082c68d82.tar.xz |
Cleanup after non-Linux code removal.
Conditions such as defined(LINUX) are always true now,
defined(FREEBSD) etc are always false.
When if directive has them as subexpressions, it can be simplified.
Another trivial changes here are fixes for directive indentation.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -69,7 +69,7 @@ sys_write(struct tcb *tcp) void tprint_iov(struct tcb *tcp, unsigned long len, unsigned long addr, int decode_iov) { -#if defined(LINUX) && SUPPORTED_PERSONALITIES > 1 +#if SUPPORTED_PERSONALITIES > 1 union { struct { u_int32_t base; u_int32_t len; } iov32; struct { u_int64_t base; u_int64_t len; } iov64; |