aboutsummaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2011-12-29 00:08:47 +0000
committerGerald Combs <gerald@wireshark.org>2011-12-29 00:08:47 +0000
commit6b178bd41548b561913be45a6ee649a497ec5d1f (patch)
tree81727fd787260953b047a6b711a1ebb3a6946684 /file.h
parentcb9725ce2beefe34c08dc954ff2a9c51c6a7e3bd (diff)
Add 'extern "C"' wrappers and #include guards to various header files.
svn path=/trunk/; revision=40321
Diffstat (limited to 'file.h')
-rw-r--r--file.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/file.h b/file.h
index 842e48608a..facf0f1d40 100644
--- a/file.h
+++ b/file.h
@@ -34,6 +34,9 @@
#include "cfile.h"
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
/** Return values from functions that only can succeed or fail. */
typedef enum {
@@ -581,4 +584,8 @@ cf_merge_files(char **out_filename, int in_file_count,
void read_keytab_file(const char *);
#endif
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* file.h */