summaryrefslogtreecommitdiff
path: root/navit/item.h
diff options
context:
space:
mode:
authorOLFDB <olf@eisenzelt.de>2023-03-07 13:41:29 +0100
committerGitHub <noreply@github.com>2023-03-07 13:41:29 +0100
commitd85f71ecf4c48baf428da17697b43f2a11129db1 (patch)
treebe33d03f7fa92d455500b16d4b389fb95ff2c188 /navit/item.h
parent2ac4a843483735f8fd4e932fcab536a0aa46be5d (diff)
downloadnavit-trunk.tar.gz
Fix: Warnings during build (#1225)HEADtrunk
* Initial commit * Fix:#1185 * Fix:#1185 * Update after further tests * Update navit.c Missing opening bracket. * Update navit.c Needs AND not OR when combining if clauses. * Revert "Fix:#1185" This reverts commit fd91e400dfc5bfa83ee4565c2ab9e222188eee77. * Revert "Fix:#1185" This reverts commit be87cd30a0b153158bc68b3eb83601aadeda322c. * Fix: Warning during build * WINCE compiler needs pragma to be outside of a function
Diffstat (limited to 'navit/item.h')
-rw-r--r--navit/item.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/navit/item.h b/navit/item.h
index d3e222196..d1ee433b9 100644
--- a/navit/item.h
+++ b/navit/item.h
@@ -25,14 +25,7 @@ extern "C" {
#endif
#include <stdio.h>
-
-enum item_type {
-#define ITEM2(x,y) type_##y=x,
-#define ITEM(x) type_##x,
-#include "item_def.h"
-#undef ITEM2
-#undef ITEM
-};
+#include "item_type_def.h"
#define route_item_first type_street_0
#define route_item_last type_street_parking_lane