From Albert Chin: fix various non-GCC compiler warnings.

svn path=/trunk/; revision=5600
This commit is contained in:
Guy Harris 2002-05-30 08:34:19 +00:00
parent ca03167c44
commit 531cb17873
7 changed files with 14 additions and 14 deletions

View File

@ -643,7 +643,7 @@ Thomas Gimpel <thomas.gimpel[AT]ferrari.de> {
Albert Chin <china[AT]thewrittenword.com> {
Fixes to Lemon to get it to compile on platforms (such as some
versions of Tru64 UNIX) that define TRUE and FALSE
Fixes to some Tru64 compiler warninngs
Fixes for various non-GCC compiler warnings
Fix to TCP graph code to eliminate a GCCism
Simplify some autoconf code
}

View File

@ -3,7 +3,7 @@
*
* (c) Copyright Ashok Narayanan <ashokn@cisco.com>
*
* $Id: packet-rsvp.c,v 1.64 2002/05/18 02:05:47 gerald Exp $
* $Id: packet-rsvp.c,v 1.65 2002/05/30 08:34:18 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -199,7 +199,7 @@ enum rsvp_classes {
RSVP_CLASS_SESSION_ATTRIBUTE = 207,
RSVP_CLASS_GENERALIZED_UNI,
RSVP_CLASS_DCLASS = 225,
RSVP_CLASS_LSP_TUNNEL_IF_ID = 227,
RSVP_CLASS_LSP_TUNNEL_IF_ID = 227
};
static value_string rsvp_class_vals[] = {
@ -316,7 +316,7 @@ enum {
RSVP_SESSION_TYPE_IPV4_LSP = 7,
RSVP_SESSION_TYPE_IPV6_LSP,
RSVP_SESSION_TYPE_IPV4_UNI = 9,
RSVP_SESSION_TYPE_IPV4_UNI = 9
};
/*

View File

@ -10,7 +10,7 @@
* - support for reassembly
* - code cleanup
*
* $Id: packet-sctp.c,v 1.36 2002/05/18 20:33:53 guy Exp $
* $Id: packet-sctp.c,v 1.37 2002/05/30 08:34:18 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -2449,7 +2449,7 @@ proto_register_sctp(void)
sctp_port_dissector_table = register_dissector_table("sctp.port", "SCTP port", FT_UINT16, BASE_DEC);
sctp_ppi_dissector_table = register_dissector_table("sctp.ppi", "SCTP payload protocol identifier", FT_UINT32, BASE_HEX);
};
}
void
proto_reg_handoff_sctp(void)

View File

@ -11,7 +11,7 @@
* This file is based on packet-aim.c, which is
* Copyright 2000, Ralf Hoelzer <ralf@well.com>
*
* $Id: packet-skinny.c,v 1.18 2002/05/05 00:16:32 guy Exp $
* $Id: packet-skinny.c,v 1.19 2002/05/30 08:34:18 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -2440,7 +2440,7 @@ proto_register_skinny(void)
"Desegment all SCCP messages spanning multiple TCP segments",
"Whether the SCCP dissector should desegment all messages spanning multiple TCP segments",
&skinny_desegment);
};
}
void
proto_reg_handoff_skinny(void)

View File

@ -6,7 +6,7 @@
* In particular I have not had an opportunity to see how it
* responds to SRVLOC over TCP.
*
* $Id: packet-srvloc.c,v 1.29 2002/01/24 09:20:51 guy Exp $
* $Id: packet-srvloc.c,v 1.30 2002/05/30 08:34:18 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -530,7 +530,7 @@ proto_register_srvloc(void)
"SRVLOC", "srvloc");
proto_register_field_array(proto_srvloc, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
};
}
void
proto_reg_handoff_srvloc(void)

View File

@ -6,7 +6,7 @@
*
* Copyright 2000, Michael Tüxen <Michael.Tuexen@icn.siemens.de>
*
* $Id: packet-sua.c,v 1.6 2002/01/24 09:20:52 guy Exp $
* $Id: packet-sua.c,v 1.7 2002/05/30 08:34:19 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -2754,7 +2754,7 @@ proto_register_sua(void)
"SUA Version",
&sua_version,
sua_options, FALSE);
};
}
void
proto_reg_handoff_sua(void)

View File

@ -3,7 +3,7 @@
*
* Copyright 2000, Gerald Combs <gerald@ethereal.com>
*
* $Id: packet-syslog.c,v 1.17 2002/05/15 06:51:07 guy Exp $
* $Id: packet-syslog.c,v 1.18 2002/05/30 08:34:19 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -241,7 +241,7 @@ void proto_register_syslog(void)
/* Required function calls to register the header fields and subtrees used */
proto_register_field_array(proto_syslog, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
};
}
void
proto_reg_handoff_syslog(void)