Itroduce XLAT_END macro to make xlat structures more compact

* defs.h (XLAT_END): New macro.
This commit is contained in:
Дмитрий Левин 2014-02-05 02:18:52 +00:00
parent 2a32eaa157
commit 82b1ea7c3f

1
defs.h
View File

@ -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[];