Added c++ compliance
authorkazer_ <kazer_@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Mon, 16 Jul 2007 12:20:34 +0000 (12:20 +0000)
committerkazer_ <kazer_@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Mon, 16 Jul 2007 12:20:34 +0000 (12:20 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@343 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/src/debug.h

index aabf8e9..95eebb2 100644 (file)
@@ -1,3 +1,7 @@
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include <stdarg.h>
 int debug_level;
 #define dbg(level,fmt...) ({ if (debug_level >= level) debug_printf(level,MODULE,__PRETTY_FUNCTION__,1,fmt); })
@@ -9,3 +13,7 @@ int debug_level_get(const char *name);
 void debug_vprintf(int level, const char *module, const char *function, int prefix, const char *fmt, va_list ap);
 void debug_printf(int level, const char *module, const char *function, int prefix, const char *fmt, ...);
 /* end of prototypes */
+
+#ifdef __cplusplus
+}
+#endif
\ No newline at end of file