aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packet-quake.c34
-rw-r--r--packet-quake2.c6
-rw-r--r--packet-quake3.c4
3 files changed, 22 insertions, 22 deletions
diff --git a/packet-quake.c b/packet-quake.c
index a7ff116f50..44d6060075 100644
--- a/packet-quake.c
+++ b/packet-quake.c
@@ -4,7 +4,7 @@
* Uwe Girlich <uwe@planetquake.com>
* http://www.idsoftware.com/q1source/q1source.zip
*
- * $Id: packet-quake.c,v 1.25 2002/01/24 09:20:50 guy Exp $
+ * $Id: packet-quake.c,v 1.26 2002/04/02 06:28:16 girlich Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -161,7 +161,7 @@ static void dissect_quake(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
static void
dissect_quake_CCREQ_CONNECT
-(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+(tvbuff_t *tvb, proto_tree *tree)
{
gint maxbufsize;
char game[QUAKE_MAXSTRING];
@@ -183,7 +183,7 @@ dissect_quake_CCREQ_CONNECT
static void
dissect_quake_CCREQ_SERVER_INFO
-(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+(tvbuff_t *tvb, proto_tree *tree)
{
gint maxbufsize;
char game[QUAKE_MAXSTRING];
@@ -205,7 +205,7 @@ dissect_quake_CCREQ_SERVER_INFO
static void
dissect_quake_CCREQ_PLAYER_INFO
-(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+(tvbuff_t *tvb, proto_tree *tree)
{
guint8 player;
@@ -219,7 +219,7 @@ dissect_quake_CCREQ_PLAYER_INFO
static void
dissect_quake_CCREQ_RULE_INFO
-(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+(tvbuff_t *tvb, proto_tree *tree)
{
char rule[QUAKE_MAXSTRING];
gint maxbufsize;
@@ -256,7 +256,7 @@ dissect_quake_CCREP_ACCEPT
static void
dissect_quake_CCREP_REJECT
-(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+(tvbuff_t *tvb, proto_tree *tree)
{
gint maxbufsize;
char reason[QUAKE_MAXSTRING];
@@ -274,7 +274,7 @@ dissect_quake_CCREP_REJECT
static void
dissect_quake_CCREP_SERVER_INFO
-(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+(tvbuff_t *tvb, proto_tree *tree)
{
gint offset;
gint len;
@@ -330,7 +330,7 @@ dissect_quake_CCREP_SERVER_INFO
static void
dissect_quake_CCREP_PLAYER_INFO
-(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+(tvbuff_t *tvb, proto_tree *tree)
{
gint offset;
guint8 player;
@@ -402,7 +402,7 @@ dissect_quake_CCREP_PLAYER_INFO
static void
dissect_quake_CCREP_RULE_INFO
-(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+(tvbuff_t *tvb, proto_tree *tree)
{
char rule[QUAKE_MAXSTRING];
char value[QUAKE_MAXSTRING];
@@ -468,19 +468,19 @@ dissect_quake_control(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
switch (command) {
case CCREQ_CONNECT:
dissect_quake_CCREQ_CONNECT
- (next_tvb, pinfo, control_tree);
+ (next_tvb, control_tree);
break;
case CCREQ_SERVER_INFO:
dissect_quake_CCREQ_SERVER_INFO
- (next_tvb, pinfo, control_tree);
+ (next_tvb, control_tree);
break;
case CCREQ_PLAYER_INFO:
dissect_quake_CCREQ_PLAYER_INFO
- (next_tvb, pinfo, control_tree);
+ (next_tvb, control_tree);
break;
case CCREQ_RULE_INFO:
dissect_quake_CCREQ_RULE_INFO
- (next_tvb, pinfo, control_tree);
+ (next_tvb, control_tree);
break;
case CCREP_ACCEPT:
dissect_quake_CCREP_ACCEPT
@@ -488,19 +488,19 @@ dissect_quake_control(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
break;
case CCREP_REJECT:
dissect_quake_CCREP_REJECT
- (next_tvb, pinfo, control_tree);
+ (next_tvb, control_tree);
break;
case CCREP_SERVER_INFO:
dissect_quake_CCREP_SERVER_INFO
- (next_tvb, pinfo, control_tree);
+ (next_tvb, control_tree);
break;
case CCREP_PLAYER_INFO:
dissect_quake_CCREP_PLAYER_INFO
- (next_tvb, pinfo, control_tree);
+ (next_tvb, control_tree);
break;
case CCREP_RULE_INFO:
dissect_quake_CCREP_RULE_INFO
- (next_tvb, pinfo, control_tree);
+ (next_tvb, control_tree);
break;
default:
call_dissector(data_handle,next_tvb, pinfo, control_tree);
diff --git a/packet-quake2.c b/packet-quake2.c
index 94635790f3..b1d50f310d 100644
--- a/packet-quake2.c
+++ b/packet-quake2.c
@@ -7,7 +7,7 @@
* http://www.dgs.monash.edu.au/~timf/bottim/
* http://www.opt-sci.Arizona.EDU/Pandora/default.asp
*
- * $Id: packet-quake2.c,v 1.9 2002/01/24 09:20:50 guy Exp $
+ * $Id: packet-quake2.c,v 1.10 2002/04/02 06:28:16 girlich Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -71,8 +71,8 @@ static unsigned int gbl_quake2ServerPort=PORT_MASTER;
static void
-dissect_quake2_ConnectionlessPacket(tvbuff_t *tvb, packet_info *pinfo,
- proto_tree *tree, int direction)
+dissect_quake2_ConnectionlessPacket(tvbuff_t *tvb, packet_info *pinfo _U_,
+ proto_tree *tree, int direction _U_)
{
proto_tree *cl_tree = NULL;
proto_item *cl_item = NULL;
diff --git a/packet-quake3.c b/packet-quake3.c
index 827bcfdb2a..e8d2a0c578 100644
--- a/packet-quake3.c
+++ b/packet-quake3.c
@@ -3,7 +3,7 @@
*
* Uwe Girlich <uwe@planetquake.com>
*
- * $Id: packet-quake3.c,v 1.11 2002/04/02 01:32:46 guy Exp $
+ * $Id: packet-quake3.c,v 1.12 2002/04/02 06:28:16 girlich Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -145,7 +145,7 @@ static const value_string names_command[] = {
static void
-dissect_quake3_ConnectionlessPacket(tvbuff_t *tvb, packet_info *pinfo,
+dissect_quake3_ConnectionlessPacket(tvbuff_t *tvb, packet_info *pinfo _U_,
proto_tree *tree, int* direction)
{
proto_tree *cl_tree = NULL;