AODV dissection support, from Erik Nordstr�m.
[obnox/wireshark/wip.git] / packet-data.c
index 9eb4e9453b68023942ee63853e6a417f09b56196..7b01c9504f9b33098969acb52b795e93b7798547 100644 (file)
@@ -2,7 +2,7 @@
  * Routines for raw data (default case)
  * Gilbert Ramirez <gram@alumni.rice.edu>
  *
- * $Id: packet-data.c,v 1.26 2002/01/21 07:36:33 guy 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,8 +39,8 @@
  */
 int proto_data = -1;
 
-void
-dissect_data(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+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);
-
 }