diff options
author | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2014-07-20 11:53:08 +0000 |
---|---|---|
committer | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2014-07-20 11:53:08 +0000 |
commit | 51c1157cd4c314581febfb7169d84cc41ab6f3d6 (patch) | |
tree | 255a4cad274985bddbb53dc4ca0e3f8d518149b2 /navit/attr.c | |
parent | 0bdb50f71f5f9c68181388027368749fcd9ba54f (diff) | |
download | navit-51c1157cd4c314581febfb7169d84cc41ab6f3d6.tar.gz |
Refactor:core:Mark unused attribute types.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5822 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/attr.c')
-rw-r--r-- | navit/attr.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/navit/attr.c b/navit/attr.c index 399eddceb..a47fc8a08 100644 --- a/navit/attr.c +++ b/navit/attr.c @@ -40,10 +40,17 @@ struct attr_name { }; +/** List of attr_types with their names as strings. */ static struct attr_name attr_names[]={ #define ATTR2(x,y) ATTR(y) #define ATTR(x) { attr_##x, #x }, + +#define ATTR_UNUSED /* Unused attr_types not needed here.*/ + #include "attr_def.h" + +#undef ATTR_UNUSED + #undef ATTR2 #undef ATTR }; |