From: kazer_ Date: Mon, 16 Jul 2007 12:20:34 +0000 (+0000) Subject: Added c++ compliance X-Git-Tag: navit-0.5.0.5194svn~4805 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4fa1f4f50412bafd3e7bfeca0955c1202ce3f12;p=profile%2Fivi%2Fnavit.git Added c++ compliance git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@343 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- diff --git a/navit/src/debug.h b/navit/src/debug.h index aabf8e9..95eebb2 100644 --- a/navit/src/debug.h +++ b/navit/src/debug.h @@ -1,3 +1,7 @@ +#ifdef __cplusplus +extern "C" { +#endif + #include 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