fixed missing extern C
authorkazer_ <kazer_@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Mon, 29 Oct 2007 19:33:16 +0000 (19:33 +0000)
committerkazer_ <kazer_@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Mon, 29 Oct 2007 19:33:16 +0000 (19:33 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@485 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/src/item.h

index 2d971ba..0c0ae4b 100644 (file)
@@ -1,6 +1,9 @@
 #ifndef NAVIT_ITEM_H
 #define NAVIT_ITEM_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 enum item_type {
 #define ITEM2(x,y) type_##y=x,
@@ -56,3 +59,6 @@ void item_hash_destroy(struct item_hash *h);
 
 #endif
 
+#ifdef __cplusplus
+}
+#endif