Re-apply r40728 and fix Coverity CID 1371 UNINIT again.
[obnox/wireshark/wip.git] / disabled_protos.h
index 7280f179b8f820316b9c48c4543fb1fe29ddea19..3314cceb298c330ac977d0883f14d0ba1eb5f5d1 100644 (file)
@@ -4,7 +4,7 @@
  * $Id$
  *
  * Wireshark - Network traffic analyzer
- * By Gerald Combs <gerald@zing.org>
+ * By Gerald Combs <gerald@wireshark.org>
  * Copyright 1998 Gerald Combs
  *
  *
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  */
 
+#ifndef DISABLED_PROTOS_H
+#define DISABLED_PROTOS_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
 /*
  * Item in a list of disabled protocols.
  */
@@ -59,3 +66,9 @@ void set_disabled_protos_list(void);
  * and "*errno_return" is set to the error.
  */
 void save_disabled_protos_list(char **pref_path_return, int *errno_return);
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* DISABLED_PROTOS_H */