diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-05-10 23:20:38 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-05-10 23:20:38 +0000 |
commit | ae88c45ef0e996600f277bb74261f42ced995b6c (patch) | |
tree | f18ae465f401e1d4668a4ffce5f6c6528af6f89f /print.c | |
parent | 42c395b0e250aa833072dde090d22dd0e97f2564 (diff) | |
download | wireshark-ae88c45ef0e996600f277bb74261f42ced995b6c.tar.gz wireshark-ae88c45ef0e996600f277bb74261f42ced995b6c.tar.bz2 wireshark-ae88c45ef0e996600f277bb74261f42ced995b6c.zip |
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.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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; |