From 6b178bd41548b561913be45a6ee649a497ec5d1f Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Thu, 29 Dec 2011 00:08:47 +0000 Subject: Add 'extern "C"' wrappers and #include guards to various header files. svn path=/trunk/; revision=40321 --- capture_info.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'capture_info.h') diff --git a/capture_info.h b/capture_info.h index 29df790178..0fd08cdd7b 100644 --- a/capture_info.h +++ b/capture_info.h @@ -24,7 +24,7 @@ /** @file - * + * * capture info functions * */ @@ -34,6 +34,10 @@ #include "capture_opts.h" +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + /* open the info - init values (wtap, counts), create dialog */ extern void capture_info_open(capture_options *capture_opts); @@ -73,5 +77,8 @@ capture_info *cinfo); extern void capture_info_ui_destroy( capture_info *cinfo); +#ifdef __cplusplus +} +#endif /* __cplusplus */ #endif /* capture_info.h */ -- cgit v1.2.1