diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-04-04 05:16:15 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-04-04 05:16:15 +0000 |
commit | c8fdc30fe250dfde468b366483b78a3acba3e382 (patch) | |
tree | beed547255ec916a6f66ff5d31b59e4f8cf6046a /packet-data.c | |
parent | dfd6b4fcf0d9b38c7cdaf4574e28fd21ca6905d7 (diff) | |
download | wireshark-c8fdc30fe250dfde468b366483b78a3acba3e382.tar.gz wireshark-c8fdc30fe250dfde468b366483b78a3acba3e382.tar.bz2 wireshark-c8fdc30fe250dfde468b366483b78a3acba3e382.zip |
Make "dissect_data()" static - it's only called through handles.
svn path=/trunk/; revision=5096
Diffstat (limited to 'packet-data.c')
-rw-r--r-- | packet-data.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/packet-data.c b/packet-data.c index 9df1aa1522..7b01c9504f 100644 --- a/packet-data.c +++ b/packet-data.c @@ -2,7 +2,7 @@ * Routines for raw data (default case) * Gilbert Ramirez <gram@alumni.rice.edu> * - * $Id: packet-data.c,v 1.27 2002/04/04 03:52:47 gram Exp $ + * $Id: packet-data.c,v 1.28 2002/04/04 05:16:14 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -39,7 +39,7 @@ */ int proto_data = -1; -void +static void dissect_data(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree) { int bytes; @@ -64,12 +64,11 @@ proto_register_data(void) "data" /* abbrev */ ); - register_dissector("data",dissect_data,proto_data); + register_dissector("data", dissect_data, proto_data); /* * "Data" is used to dissect something whose normal dissector * is disabled, so it cannot itself be disabled. */ proto_set_cant_disable(proto_data); - } |