aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-12-03 22:32:10 +0000
committerGuy Harris <guy@alum.mit.edu>2000-12-03 22:32:10 +0000
commit79d456e3150f1e913ae57fd893bb4bb69c024258 (patch)
treeca5093bc485f6d69bb8c7ae0f7e5bf63725d298e /epan
parent6b744058c3193d6049dfdfb612449b207e6e148a (diff)
Declare "proto_malformed" in "packet-frame.h", as "packet-frame.c"
exports it. Make the pointer that points to the GMemChunk for per-frame data static to "epan/packet.c", as it's not used outside "epan/packet.c". svn path=/trunk/; revision=2741
Diffstat (limited to 'epan')
-rw-r--r--epan/packet.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/epan/packet.c b/epan/packet.c
index 21479f2dcd..e3691c908e 100644
--- a/epan/packet.c
+++ b/epan/packet.c
@@ -1,7 +1,7 @@
/* packet.c
* Routines for packet disassembly
*
- * $Id: packet.c,v 1.9 2000/12/03 22:26:26 guy Exp $
+ * $Id: packet.c,v 1.10 2000/12/03 22:32:10 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -83,9 +83,6 @@
#include "tvbuff.h"
#include "plugins.h"
-extern int proto_malformed;
-
-
static void display_signed_time(gchar *, int, gint32, gint32);
@@ -97,7 +94,7 @@ typedef struct _frame_proto_data {
void *proto_data;
} frame_proto_data;
-GMemChunk *frame_proto_data_area = NULL;
+static GMemChunk *frame_proto_data_area = NULL;
/*