Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal packet-ipv6.c packet-l2tp.c packet-ospf.c
guy 2000/03/14 00:03:31 CST
Modified files:
. packet-ipv6.c packet-l2tp.c packet-ospf.c
packet-rsvp.c proto.c proto.h xdlc.c
Log:
Fix some errors discovered by making GCC do format string/argument
cross-checking, and by replacing "proto_tree_add_item_format()" by
multiple routines to add items of various types.
Make the arguments of "proto_tree_add_bytes_format()" and
"proto_tree_add_string_format()" that specify the bytes or the string be
"const" pointers, so that one can pass a "const" pointer without
complaints from the compiler.
Squelch a (bogus, but the compiler isn't in a position to know that)
complaint about an uninitialized variable.
Revision Changes Path
1.30 +3 -3 ethereal/packet-ipv6.c
1.5 +2 -2 ethereal/packet-l2tp.c
1.21 +4 -4 ethereal/packet-ospf.c
1.18 +4 -3 ethereal/packet-rsvp.c
1.56 +8 -8 ethereal/proto.c
1.25 +5 -5 ethereal/proto.h
1.13 +5 -5 ethereal/xdlc.c