diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2014-02-05 02:18:52 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2014-02-05 02:28:17 +0000 |
commit | 82b1ea7c3fc854d5ea805f490d351d443701d60b (patch) | |
tree | d0f79656187da25a17f7c8397c74e39d915e67ee | |
parent | 2a32eaa157b2da63f181c37c37ecead405740d68 (diff) | |
download | strace-82b1ea7c3fc854d5ea805f490d351d443701d60b.tar.gz strace-82b1ea7c3fc854d5ea805f490d351d443701d60b.tar.bz2 strace-82b1ea7c3fc854d5ea805f490d351d443701d60b.tar.xz |
Itroduce XLAT_END macro to make xlat structures more compact
* defs.h (XLAT_END): New macro.
-rw-r--r-- | defs.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -504,6 +504,7 @@ struct xlat { const char *str; }; #define XLAT(x) { x, #x } +#define XLAT_END { 0, NULL } extern const struct xlat open_mode_flags[]; extern const struct xlat addrfams[]; |