summaryrefslogtreecommitdiff
path: root/epan
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-05-10 20:02:40 +0000
committerGuy Harris <guy@alum.mit.edu>2002-05-10 20:02:40 +0000
commit58324cf3b300216c61ae876ff258f5bf13824fd2 (patch)
treebec4e7d741cc0fe4cbd4378ea19baa802ef298a0 /epan
parent83188c261c98c4f6c6e5d67a61c3cbbd1958a584 (diff)
downloadwireshark-58324cf3b300216c61ae876ff258f5bf13824fd2.tar.gz
Mark an unused argument as such.
Fix a couple of typos in comments. svn path=/trunk/; revision=5439
Diffstat (limited to 'epan')
-rw-r--r--epan/packet.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/packet.c b/epan/packet.c
index d7a7fe2507..058dec67b4 100644
--- a/epan/packet.c
+++ b/epan/packet.c
@@ -1,7 +1,7 @@
/* packet.c
* Routines for packet disassembly
*
- * $Id: packet.c,v 1.69 2002/05/09 23:50:28 gram Exp $
+ * $Id: packet.c,v 1.70 2002/05/10 20:02:40 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -240,10 +240,10 @@ free_data_sources(frame_data *fd)
/* Allow dissectors to register a "final_registration" routine
* that is run like the proto_register_XXX() routine, but the end
* end of the epan_init() function; that is, *after* all other
- * subsystems, liked dfilters, have finished initializing. This is
+ * subsystems, like dfilters, have finished initializing. This is
* useful for dissector registration routines which need to compile
* display filters. dfilters can't initialize itself until all protocols
- * have registereed themselvs. */
+ * have registereed themselves. */
static GSList *final_registration_routines;
void
@@ -255,7 +255,7 @@ register_final_registration_routine(void (*func)(void))
/* Call all the registered "final_registration" routines. */
static void
-call_final_registration_routine(gpointer routine, gpointer dummy)
+call_final_registration_routine(gpointer routine, gpointer dummy _U_)
{
void (*func)(void) = routine;