"old_dissector_delete()" is no longer used; remove it.
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 2 Jun 2001 08:23:10 +0000 (08:23 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 2 Jun 2001 08:23:10 +0000 (08:23 +0000)
Update Gerald's e-mail address.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3506 f5534014-38df-0310-8fa8-9805f1628bb7

epan/packet.c
epan/packet.h

index ae95b38d1faf9e99b18adab2fa50250015054929..e44fe8e33b3685558a192faf2c2dc084579a99a3 100644 (file)
@@ -1,12 +1,11 @@
 /* packet.c
  * Routines for packet disassembly
  *
- * $Id: packet.c,v 1.34 2001/05/30 06:41:07 guy Exp $
+ * $Id: packet.c,v 1.35 2001/06/02 08:23:10 guy Exp $
  *
  * Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@zing.org>
+ * By Gerald Combs <gerald@ethereal.com>
  * Copyright 1998 Gerald Combs
- *
  * 
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -262,34 +261,6 @@ dissector_add(const char *name, guint32 pattern, dissector_t dissector,
 /*     if the technique of adding a temporary dissector is implemented.  */
 /*     If temporary dissectors are deleted, then the original dissector must */
 /*     be available. */
-void
-old_dissector_delete(const char *name, guint32 pattern, old_dissector_t dissector)
-{
-       dissector_table_t sub_dissectors = find_dissector_table( name);
-       dtbl_entry_t *dtbl_entry;
-
-/* sanity check */
-       g_assert( sub_dissectors);
-
-       /*
-        * Find the entry.
-        */
-       dtbl_entry = g_hash_table_lookup(sub_dissectors,
-           GUINT_TO_POINTER(pattern));
-
-       if (dtbl_entry != NULL) {
-               /*
-                * Found - remove it.
-                */
-               g_hash_table_remove(sub_dissectors, GUINT_TO_POINTER(pattern));
-
-               /*
-                * Now free up the entry.
-                */
-               g_free(dtbl_entry);
-       }
-}
-
 void
 dissector_delete(const char *name, guint32 pattern, dissector_t dissector)
 {
index 6177c9705b946d4b4d88b864c89959bdf9be1978..b3b02cb4d6dc86a21359b8f1661af781bcef54ce 100644 (file)
@@ -1,12 +1,11 @@
 /* packet.h
  * Definitions for packet disassembly structures and routines
  *
- * $Id: packet.h,v 1.33 2001/05/30 06:41:07 guy Exp $
+ * $Id: packet.h,v 1.34 2001/06/02 08:23:10 guy Exp $
  *
  * Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@zing.org>
+ * By Gerald Combs <gerald@ethereal.com>
  * Copyright 1998 Gerald Combs
- *
  * 
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -121,7 +120,6 @@ void dissector_add(const char *abbrev, guint32 pattern,
 
 /* Add a sub-dissector to a dissector table.  Called by the protocol routine */
 /* that wants to de-register a sub-dissector.  */
-void old_dissector_delete(const char *name, guint32 pattern, old_dissector_t dissector);
 void dissector_delete(const char *name, guint32 pattern, dissector_t dissector);
 
 /* Reset a dissector in a sub-dissector table to its initial value. */