aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-03-31 20:39:08 +0000
committerGuy Harris <guy@alum.mit.edu>2002-03-31 20:39:08 +0000
commita412a0cec565dfdb0adcaf18fa9c52da76b4de9a (patch)
tree6fa001187308f8671a8460e4da8401481345aee0
parente321fcbaf5dfb36c9f9e9f688d45bccebc914f58 (diff)
From Joerg Mayer: mark function arguments as unused.
svn path=/trunk/; revision=5049
-rw-r--r--editcap.c4
-rw-r--r--proto_hier_stats.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/editcap.c b/editcap.c
index 1ba14c3959..16fa5488b4 100644
--- a/editcap.c
+++ b/editcap.c
@@ -1,7 +1,7 @@
/* Edit capture files. We can delete records, adjust timestamps, or
* simply convert from one format to another format.
*
- * $Id: editcap.c,v 1.21 2002/03/14 04:32:35 gram Exp $
+ * $Id: editcap.c,v 1.22 2002/03/31 20:39:08 guy Exp $
*
* Originally written by Richard Sharpe.
* Improved by Guy Harris.
@@ -137,7 +137,7 @@ typedef struct {
*/
static void
-edit_callback(u_char *user, const struct wtap_pkthdr *phdr, long offset,
+edit_callback(u_char *user, const struct wtap_pkthdr *phdr, long offset _U_,
union wtap_pseudo_header *pseudo_header, const u_char *buf)
{
callback_arg *argp = (callback_arg *)user;
diff --git a/proto_hier_stats.c b/proto_hier_stats.c
index 4153f884d8..28bc8e6b9f 100644
--- a/proto_hier_stats.c
+++ b/proto_hier_stats.c
@@ -1,7 +1,7 @@
/* proto_hier_stats.c
* Routines for calculating statistics based on protocol.
*
- * $Id: proto_hier_stats.c,v 1.12 2002/03/05 05:58:28 guy Exp $
+ * $Id: proto_hier_stats.c,v 1.13 2002/03/31 20:37:48 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -239,7 +239,7 @@ ph_stats_new(void)
}
static gboolean
-stat_node_free(GNode *node, gpointer data)
+stat_node_free(GNode *node, gpointer data _U_)
{
ph_stats_node_t *stats = node->data;