summaryrefslogtreecommitdiff
path: root/stream.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2014-02-05 02:20:51 +0000
committerDmitry V. Levin <ldv@altlinux.org>2014-02-05 02:28:18 +0000
commit594527353359d9a6aad516992e09c393e11f3bd2 (patch)
treeccef62341623db916eade55a47c9b00f4ce45b7f /stream.c
parent82b1ea7c3fc854d5ea805f490d351d443701d60b (diff)
downloadstrace-594527353359d9a6aad516992e09c393e11f3bd2.tar.gz
strace-594527353359d9a6aad516992e09c393e11f3bd2.tar.bz2
strace-594527353359d9a6aad516992e09c393e11f3bd2.tar.xz
Use XLAT_END macro
Automatically update all xlat structures using the following sed regexp: s/^[[:space:]]*{[[:space:]]*0[[:space:]]*,[[:space:]]*NULL[[:space:]]*,\?[[:space:]]*}[[:space:]]*,\?[[:space:]]*/\tXLAT_END/
Diffstat (limited to 'stream.c')
-rw-r--r--stream.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/stream.c b/stream.c
index 99d0897..a47eca2 100644
--- a/stream.c
+++ b/stream.c
@@ -57,7 +57,7 @@ struct strbuf {
static const struct xlat msgflags[] = {
XLAT(RS_HIPRI),
- { 0, NULL },
+ XLAT_END
};
static void
@@ -163,7 +163,7 @@ static const struct xlat pmsgflags[] = {
# ifdef MSG_BAND
XLAT(MSG_BAND),
# endif
- { 0, NULL },
+ XLAT_END
};
# ifdef SYS_putpmsg
int
@@ -263,7 +263,7 @@ static const struct xlat pollflags[] = {
XLAT(POLLHUP),
XLAT(POLLNVAL),
# endif
- { 0, NULL },
+ XLAT_END
};
static int