Initialise a variable to avoid warning.
[obnox/wireshark/wip.git] / u3.h
diff --git a/u3.h b/u3.h
index 326363b0879f7436fcd9f9b6bb05f1dd3c2ccdf3..ceff3395b23e0b21e07837f962ea420c87059430 100644 (file)
--- a/u3.h
+++ b/u3.h
 #ifndef __U3_H__
 #define __U3_H__
 
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
 gboolean u3_active(void);
 
 void u3_runtime_info(GString *str);
@@ -35,4 +39,8 @@ void u3_deregister_pid(void);
 char * u3_expand_device_path(char *path);
 char * u3_contract_device_path(char *path);
 
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
 #endif /* __U3_H__ */