summaryrefslogtreecommitdiff
path: root/ui/text_import_scanner.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-09-17 23:40:53 +0000
committerGerald Combs <gerald@wireshark.org>2012-09-17 23:40:53 +0000
commit3069f22bd1b84b56225e959a6e2ccbb09c53bdbe (patch)
treee418e2d77571601bd6ae0d685793095b3a41f82c /ui/text_import_scanner.h
parent06499e6dd0043609acff788fffba8eb9d6f744d9 (diff)
downloadwireshark-3069f22bd1b84b56225e959a6e2ccbb09c53bdbe.tar.gz
Add a text import dialog. Use libui.
svn path=/trunk/; revision=44956
Diffstat (limited to 'ui/text_import_scanner.h')
-rw-r--r--ui/text_import_scanner.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/ui/text_import_scanner.h b/ui/text_import_scanner.h
index a587bb5554..5bd9c1e5cb 100644
--- a/ui/text_import_scanner.h
+++ b/ui/text_import_scanner.h
@@ -28,8 +28,12 @@
*******************************************************************************/
-#ifndef TEXT_IMPORT_SCANNER_H
-#define TEXT_IMPORT_SCANNER_H
+#ifndef __TEXT_IMPORT_SCANNER_H__
+#define __TEXT_IMPORT_SCANNER_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
typedef enum {
T_BYTE = 1,
@@ -47,4 +51,8 @@ extern FILE *text_importin;
int text_importlex(void);
-#endif
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* __TEXT_IMPORT_SCANNER_H__ */