aboutsummaryrefslogtreecommitdiffstats
path: root/print.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-05-10 23:20:38 +0000
committerGuy Harris <guy@alum.mit.edu>2002-05-10 23:20:38 +0000
commitae88c45ef0e996600f277bb74261f42ced995b6c (patch)
treef18ae465f401e1d4668a4ffce5f6c6528af6f89f /print.c
parent42c395b0e250aa833072dde090d22dd0e97f2564 (diff)
From Joerg Mayer: make a pile of stuff not used outside one source file
static, and add a new "packet-data.h" to declare "proto_data". Display escape sequences in octal in the IAPP dissector, as is now done in the RADIUS dissector. svn path=/trunk/; revision=5441
Diffstat (limited to 'print.c')
-rw-r--r--print.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/print.c b/print.c
index 626b875e2c..21f24ab18c 100644
--- a/print.c
+++ b/print.c
@@ -1,7 +1,7 @@
/* print.c
* Routines for printing packet analysis trees.
*
- * $Id: print.c,v 1.45 2002/04/02 05:07:36 guy Exp $
+ * $Id: print.c,v 1.46 2002/05/10 23:20:38 guy Exp $
*
* Gilbert Ramirez <gram@alumni.rice.edu>
*
@@ -40,6 +40,7 @@
#include "ps.h"
#include "util.h"
#include <epan/tvbuff.h>
+#include "packet-data.h"
static void proto_tree_print_node_text(GNode *node, gpointer data);
static void proto_tree_print_node_ps(GNode *node, gpointer data);
@@ -50,9 +51,6 @@ static void print_hex_data_text(FILE *fh, register const u_char *cp,
static void print_hex_data_ps(FILE *fh, register const u_char *cp,
register u_int length, char_enc encoding);
-extern int proto_data; /* in packet-data.c */
-
-
typedef struct {
int level;
FILE *fh;