summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2012-02-25 02:38:52 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2012-02-25 02:38:52 +0100
commit8470374cba7df0e70653d95c4f336a4082c68d82 (patch)
treec19e6dbf96fae4d4229bc7fc79fd3b0d5edeebe4 /io.c
parent5afdf12572bee4ddf5a7b136d94fde024a01f642 (diff)
downloadstrace-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index 9aa0ddd..7dff4e6 100644
--- a/io.c
+++ b/io.c
@@ -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;