summaryrefslogtreecommitdiff
path: root/navit/file.h
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-05-25 12:37:42 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-05-25 12:37:42 +0000
commit704e8aa339f0c1a4236639c48888d48e4fb3c964 (patch)
treea5b0be276fcc17afa52f43f31c495d23c6e09d75 /navit/file.h
parentb3b7128f0d7470059ed0e8539e2e6ce655654ea2 (diff)
downloadnavit-svn-704e8aa339f0c1a4236639c48888d48e4fb3c964.tar.gz
Fix:Core:Make c++ happy
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3294 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/file.h')
-rw-r--r--navit/file.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/navit/file.h b/navit/file.h
index fde1aba3..f2bbc314 100644
--- a/navit/file.h
+++ b/navit/file.h
@@ -20,6 +20,10 @@
#ifndef NAVIT_FILE_H
#define NAVIT_FILE_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifndef PATH_MAX
#define PATH_MAX 4096
#endif
@@ -88,5 +92,8 @@ void *file_get_os_handle(struct file *file);
void file_init(void);
/* end of prototypes */
+#ifdef __cplusplus
+}
#endif
+#endif