aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--epan/show_exception.c2
-rw-r--r--epan/show_exception.h6
2 files changed, 1 insertions, 7 deletions
diff --git a/epan/show_exception.c b/epan/show_exception.c
index 29ef73f4ab..3948437308 100644
--- a/epan/show_exception.c
+++ b/epan/show_exception.c
@@ -31,7 +31,7 @@
#include <epan/show_exception.h>
static int proto_short = -1;
-int proto_malformed = -1;
+static int proto_malformed = -1;
static int proto_unreassembled = -1;
void
diff --git a/epan/show_exception.h b/epan/show_exception.h
index 3448bbbec6..b47b1127e6 100644
--- a/epan/show_exception.h
+++ b/epan/show_exception.h
@@ -24,12 +24,6 @@
*/
/*
- * "Protocol" used for "malformed frame" errors (other than
- * ReportedBoundsError exceptions).
- */
-extern int proto_malformed;
-
-/*
* Called to register the pseudo-protocols used for exceptions.
*/
void register_show_exception(void);