summaryrefslogtreecommitdiff
path: root/stream.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 /stream.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 'stream.c')
-rw-r--r--stream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stream.c b/stream.c
index a5bd831..3eb7dde 100644
--- a/stream.c
+++ b/stream.c
@@ -120,7 +120,7 @@ sys_putmsg(struct tcb *tcp)
return 0;
}
-#if defined(SPARC) || defined(SPARC64) || defined(SUNOS4) || defined(SVR4)
+#if defined(SPARC) || defined(SPARC64)
int
sys_getmsg(struct tcb *tcp)
{
@@ -166,7 +166,7 @@ sys_getmsg(struct tcb *tcp)
}
return RVAL_HEX | RVAL_STR;
}
-#endif /* SPARC || SPARC64 || SUNOS4 || SVR4 */
+#endif
#if defined SYS_putpmsg || defined SYS_getpmsg
static const struct xlat pmsgflags[] = {