projects
/
platform
/
upstream
/
strace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a32eaa
)
Itroduce XLAT_END macro to make xlat structures more compact
author
Dmitry V. Levin
<ldv@altlinux.org>
Wed, 5 Feb 2014 02:18:52 +0000
(
02:18
+0000)
committer
Dmitry V. Levin
<ldv@altlinux.org>
Wed, 5 Feb 2014 02:28:17 +0000
(
02:28
+0000)
* defs.h (XLAT_END): New macro.
defs.h
patch
|
blob
|
history
diff --git
a/defs.h
b/defs.h
index 8213ea4bca00537b6fda031e6286bcc33d559f1d..b0a91447c8f4e3670fb3dc0e4f63655701b47698 100644
(file)
--- a/
defs.h
+++ b/
defs.h
@@
-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[];