diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2014-02-05 02:20:51 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2014-02-05 02:28:18 +0000 |
commit | 594527353359d9a6aad516992e09c393e11f3bd2 (patch) | |
tree | ccef62341623db916eade55a47c9b00f4ce45b7f /bjm.c | |
parent | 82b1ea7c3fc854d5ea805f490d351d443701d60b (diff) | |
download | strace-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |