summaryrefslogtreecommitdiff
path: root/bjm.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 /bjm.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 'bjm.c')
-rw-r--r--bjm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bjm.c b/bjm.c
index 366eefc..6f1ee57 100644
--- a/bjm.c
+++ b/bjm.c
@@ -76,7 +76,7 @@ static const struct xlat which[] = {
XLAT(QM_REFS),
XLAT(QM_SYMBOLS),
XLAT(QM_INFO),
- { 0, NULL },
+ XLAT_END
};
static const struct xlat modflags[] = {
@@ -87,7 +87,7 @@ static const struct xlat modflags[] = {
XLAT(MOD_VISITED),
XLAT(MOD_USED_ONCE),
XLAT(MOD_JUST_FREED),
- { 0, NULL },
+ XLAT_END
};
int