From e78aba0a40c53895e09a2a6a240b2c1f480c86cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Mayer?= Date: Sun, 21 Dec 2003 05:51:34 +0000 Subject: warning: ISO C does not allow extra ; outside of a function svn path=/trunk/; revision=9387 --- packet-asap.c | 4 ++-- packet-cops.c | 4 ++-- packet-cpfi.c | 4 ++-- packet-dcerpc-rs_acct.c | 4 ++-- packet-dcerpc-rs_misc.c | 4 ++-- packet-esis.c | 8 ++++---- packet-igrp.c | 4 ++-- packet-iua.c | 4 ++-- packet-m2tp.c | 4 ++-- packet-m3ua.c | 4 ++-- packet-mip.c | 4 ++-- packet-mip6.c | 4 ++-- packet-mtp2.c | 4 ++-- packet-ranap.c | 4 ++-- packet-sna.c | 4 ++-- packet-wbxml.c | 4 ++-- packet-wsp.c | 16 ++++++++-------- packet-wtp.c | 4 ++-- packet-xdmcp.c | 4 ++-- 19 files changed, 46 insertions(+), 46 deletions(-) diff --git a/packet-asap.c b/packet-asap.c index d2603874ef..4846224fe0 100644 --- a/packet-asap.c +++ b/packet-asap.c @@ -6,7 +6,7 @@ * * Copyright 2002, Michael Tuexen * - * $Id: packet-asap.c,v 1.10 2003/04/22 13:47:30 tuexen Exp $ + * $Id: packet-asap.c,v 1.11 2003/12/21 05:51:32 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -626,7 +626,7 @@ proto_register_asap(void) proto_register_field_array(proto_asap, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); -}; +} void proto_reg_handoff_asap(void) diff --git a/packet-cops.c b/packet-cops.c index ab5ca5e3ec..2e6c515821 100644 --- a/packet-cops.c +++ b/packet-cops.c @@ -4,7 +4,7 @@ * * Copyright 2000, Heikki Vatiainen * - * $Id: packet-cops.c,v 1.38 2003/12/13 02:10:30 guy Exp $ + * $Id: packet-cops.c,v 1.39 2003/12/21 05:51:32 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -1555,7 +1555,7 @@ void proto_register_cops(void) "Whether the COPS dissector should decode COPS-PR ASN.1 types based on data types read from packet or PIBs (converted to MIBs)", &cops_typefrommib); #endif /*HAVE_NET_SNMP*/ -}; +} void proto_reg_handoff_cops(void) { diff --git a/packet-cpfi.c b/packet-cpfi.c index ce90949214..1cbe2b282e 100644 --- a/packet-cpfi.c +++ b/packet-cpfi.c @@ -5,7 +5,7 @@ * * Copyright 2003, Dave Sclarsky * - * $Id: packet-cpfi.c,v 1.5 2003/11/19 09:49:00 guy Exp $ + * $Id: packet-cpfi.c,v 1.6 2003/12/21 05:51:33 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -355,7 +355,7 @@ proto_register_cpfi(void) "Set the port for CPFI messages (if other" " than the default of 5000)", 10, &cpfi_configured_udp_port); -}; +} void proto_reg_handoff_cpfi(void) diff --git a/packet-dcerpc-rs_acct.c b/packet-dcerpc-rs_acct.c index 1eb8beb9b0..b02a51a37a 100644 --- a/packet-dcerpc-rs_acct.c +++ b/packet-dcerpc-rs_acct.c @@ -5,7 +5,7 @@ * This information is based off the released idl files from opengroup. * ftp://ftp.opengroup.org/pub/dce122/dce/src/security.tar.gz security/idl/rs_acct.idl * - * $Id: packet-dcerpc-rs_acct.c,v 1.5 2003/08/04 02:49:01 tpot Exp $ + * $Id: packet-dcerpc-rs_acct.c,v 1.6 2003/12/21 05:51:33 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -89,7 +89,7 @@ rs_acct_dissect_lookup_rqst (tvbuff_t *tvb, int offset, } return offset; -}; +} diff --git a/packet-dcerpc-rs_misc.c b/packet-dcerpc-rs_misc.c index d2cc2947b6..7170b3374e 100644 --- a/packet-dcerpc-rs_misc.c +++ b/packet-dcerpc-rs_misc.c @@ -5,7 +5,7 @@ * This information is based off the released idl files from opengroup. * ftp://ftp.opengroup.org/pub/dce122/dce/src/security.tar.gz security/idl/rs_misc.idl * - * $Id: packet-dcerpc-rs_misc.c,v 1.5 2003/08/04 02:49:01 tpot Exp $ + * $Id: packet-dcerpc-rs_misc.c,v 1.6 2003/12/21 05:51:33 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -87,7 +87,7 @@ rs_misc_dissect_login_get_info_rqst (tvbuff_t *tvb, int offset, } return offset; -}; +} static dcerpc_sub_dissector rs_misc_dissectors[] = { diff --git a/packet-esis.c b/packet-esis.c index d769940900..e412c91e4a 100644 --- a/packet-esis.c +++ b/packet-esis.c @@ -2,7 +2,7 @@ * Routines for ISO/OSI End System to Intermediate System * Routing Exchange Protocol ISO 9542. * - * $Id: packet-esis.c,v 1.30 2003/12/13 02:17:44 guy Exp $ + * $Id: packet-esis.c,v 1.31 2003/12/21 05:51:33 jmayer Exp $ * Ralf Schneider * * Ethereal - Network traffic analyzer @@ -180,7 +180,7 @@ esis_dissect_esh_pdu( guint8 len, tvbuff_t *tvb, proto_tree *tree) { } dissect_osi_options( len, tvb, offset, tree ); } -} /* esis_dissect_esh_pdu */ ; +} /* esis_dissect_esh_pdu */ static void esis_dissect_ish_pdu( guint8 len, tvbuff_t *tvb, proto_tree *tree) { @@ -203,7 +203,7 @@ esis_dissect_ish_pdu( guint8 len, tvbuff_t *tvb, proto_tree *tree) { dissect_osi_options( len, tvb, offset, tree ); } -}; +} static void esis_dissect_redirect_pdu( guint8 len, tvbuff_t *tvb, proto_tree *tree) { @@ -439,7 +439,7 @@ proto_register_esis(void) { proto_esis = proto_register_protocol( PROTO_STRING_ESIS, "ESIS", "esis"); proto_register_field_array(proto_esis, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); -}; +} void proto_reg_handoff_esis(void) diff --git a/packet-igrp.c b/packet-igrp.c index bd2462900d..395bdcf74c 100644 --- a/packet-igrp.c +++ b/packet-igrp.c @@ -2,7 +2,7 @@ * Routines for IGRP dissection * Copyright 2000, Paul Ionescu * - * $Id: packet-igrp.c,v 1.13 2002/08/28 21:00:17 jmayer Exp $ + * $Id: packet-igrp.c,v 1.14 2003/12/21 05:51:33 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -200,7 +200,7 @@ void proto_register_igrp(void) /* Required function calls to register the header fields and subtrees used */ proto_register_field_array(proto_igrp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); -}; +} void proto_reg_handoff_igrp(void) diff --git a/packet-iua.c b/packet-iua.c index 95edf10a86..36c7689974 100644 --- a/packet-iua.c +++ b/packet-iua.c @@ -8,7 +8,7 @@ * * Copyright 2002, Michael Tuexen * - * $Id: packet-iua.c,v 1.21 2003/04/22 13:47:37 tuexen Exp $ + * $Id: packet-iua.c,v 1.22 2003/12/21 05:51:33 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -892,7 +892,7 @@ proto_register_iua(void) proto_register_field_array(proto_iua, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); prefs_register_bool_preference(iua_module, "support_ig", "Support Implementers Guide", "Support Implementers Guide (version 01)", &support_IG); -}; +} #define SCTP_PORT_IUA 9900 diff --git a/packet-m2tp.c b/packet-m2tp.c index 01e7744057..d16dce93f8 100644 --- a/packet-m2tp.c +++ b/packet-m2tp.c @@ -5,7 +5,7 @@ * * Copyright 2001, Heinz Prantner * - * $Id: packet-m2tp.c,v 1.8 2003/04/22 13:47:37 tuexen Exp $ + * $Id: packet-m2tp.c,v 1.9 2003/12/21 05:51:33 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -663,7 +663,7 @@ proto_register_m2tp(void) /* Required function calls to register the header fields and subtrees used */ proto_register_field_array(proto_m2tp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); -}; +} void proto_reg_handoff_m2tp(void) diff --git a/packet-m3ua.c b/packet-m3ua.c index e96ab706c5..4cf9b1f299 100644 --- a/packet-m3ua.c +++ b/packet-m3ua.c @@ -7,7 +7,7 @@ * * Copyright 2000, 2001, 2002, 2003 Michael Tuexen * - * $Id: packet-m3ua.c,v 1.36 2003/10/06 20:46:51 guy Exp $ + * $Id: packet-m3ua.c,v 1.37 2003/12/21 05:51:33 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -1753,7 +1753,7 @@ proto_register_m3ua(void) proto_register_subtree_array(ett, array_length(ett)); si_dissector_table = register_dissector_table("m3ua.protocol_data_si", "MTP3 Service indicator", FT_UINT8, BASE_HEX); -}; +} void proto_reg_handoff_m3ua(void) diff --git a/packet-mip.c b/packet-mip.c index e82154f5f7..8129121c56 100644 --- a/packet-mip.c +++ b/packet-mip.c @@ -2,7 +2,7 @@ * Routines for Mobile IP dissection * Copyright 2000, Stefan Raab * - * $Id: packet-mip.c,v 1.34 2003/12/21 04:31:56 jmayer Exp $ + * $Id: packet-mip.c,v 1.35 2003/12/21 05:51:33 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -507,7 +507,7 @@ void proto_register_mip(void) /* Required function calls to register the header fields and subtrees used */ proto_register_field_array(proto_mip, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); -}; +} void proto_reg_handoff_mip(void) diff --git a/packet-mip6.c b/packet-mip6.c index 59544911bb..f61b86a7e8 100644 --- a/packet-mip6.c +++ b/packet-mip6.c @@ -1,6 +1,6 @@ /* packet-mip6.c * - * $Id: packet-mip6.c,v 1.5 2003/11/24 21:42:13 guy Exp $ + * $Id: packet-mip6.c,v 1.6 2003/12/21 05:51:33 jmayer Exp $ * * Routines for Mobile IPv6 dissection (draft-ietf-mobileip-ipv6-20.txt) * Copyright 2003 Oy L M Ericsson Ab @@ -678,7 +678,7 @@ proto_register_mip6(void) /* Required function calls to register the header fields and subtrees used */ proto_register_field_array(proto_mip6, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); -}; +} void proto_reg_handoff_mip6(void) diff --git a/packet-mtp2.c b/packet-mtp2.c index 6dee072eee..b35ca46897 100644 --- a/packet-mtp2.c +++ b/packet-mtp2.c @@ -5,7 +5,7 @@ * * Copyright 2001, Michael Tuexen * - * $Id: packet-mtp2.c,v 1.9 2003/12/03 22:50:41 guy Exp $ + * $Id: packet-mtp2.c,v 1.10 2003/12/21 05:51:33 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -203,7 +203,7 @@ proto_register_mtp2(void) proto_register_field_array(proto_mtp2, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); -}; +} void proto_reg_handoff_mtp2(void) diff --git a/packet-ranap.c b/packet-ranap.c index 310db09eed..dfc23e1539 100644 --- a/packet-ranap.c +++ b/packet-ranap.c @@ -3,7 +3,7 @@ * Based on 3GPP TS 25.413 V3.4.0 * Copyright 2001, Martin Held * - * $Id: packet-ranap.c,v 1.21 2003/12/01 22:25:32 guy Exp $ + * $Id: packet-ranap.c,v 1.22 2003/12/21 05:51:33 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -4842,7 +4842,7 @@ proto_register_ranap(void) proto_register_subtree_array(ett, array_length(ett)); nas_pdu_dissector_table = register_dissector_table("ranap.nas_pdu", "RANAP NAS PDU", FT_UINT8, BASE_DEC); -}; +} void diff --git a/packet-sna.c b/packet-sna.c index ec6f18153b..95a8bdcfcf 100644 --- a/packet-sna.c +++ b/packet-sna.c @@ -3,7 +3,7 @@ * Gilbert Ramirez * Jochen Friedrich * - * $Id: packet-sna.c,v 1.48 2003/07/18 05:12:13 guy Exp $ + * $Id: packet-sna.c,v 1.49 2003/12/21 05:51:34 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -2558,7 +2558,7 @@ dissect_gds(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, if (tvb_offset_exists(tvb, offset)) call_dissector(data_handle, tvb_new_subset(tvb, offset, -1, -1), pinfo, parent_tree); -}; +} /* -------------------------------------------------------------------- * General stuff diff --git a/packet-wbxml.c b/packet-wbxml.c index cce765f059..5ba3190397 100644 --- a/packet-wbxml.c +++ b/packet-wbxml.c @@ -3,7 +3,7 @@ * Routines for wbxml dissection * Copyright 2003, Olivier Biot * - * $Id: packet-wbxml.c,v 1.22 2003/12/16 22:39:32 obiot Exp $ + * $Id: packet-wbxml.c,v 1.23 2003/12/21 05:51:34 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -3638,7 +3638,7 @@ proto_register_wbxml(void) proto_register_subtree_array(ett, array_length(ett)); register_dissector("wbxml", dissect_wbxml, proto_wbxml); -}; +} void diff --git a/packet-wsp.c b/packet-wsp.c index 6d059a185c..2f32738030 100644 --- a/packet-wsp.c +++ b/packet-wsp.c @@ -2,7 +2,7 @@ * * Routines to dissect WSP component of WAP traffic. * - * $Id: packet-wsp.c,v 1.99 2003/12/21 04:31:57 jmayer Exp $ + * $Id: packet-wsp.c,v 1.100 2003/12/21 05:51:34 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -3783,17 +3783,17 @@ wkh_openwave_default(proto_tree *tree, tvbuff_t *tvb, guint32 hdr_start) /* Textual Openwave headers */ wkh_text_header(openwave_x_up_proxy_operator_domain, - "x-up-proxy-operator-domain"); + "x-up-proxy-operator-domain") wkh_text_header(openwave_x_up_proxy_home_page, - "x-up-proxy-home-page"); + "x-up-proxy-home-page") wkh_text_header(openwave_x_up_proxy_uplink_version, - "x-up-proxy-uplink-version"); + "x-up-proxy-uplink-version") wkh_text_header(openwave_x_up_proxy_ba_realm, - "x-up-proxy-ba-realm"); + "x-up-proxy-ba-realm") wkh_text_header(openwave_x_up_proxy_request_uri, - "x-up-proxy-request-uri"); + "x-up-proxy-request-uri") wkh_text_header(openwave_x_up_proxy_bookmark, - "x-up-proxy-bookmark"); + "x-up-proxy-bookmark") /* Integer Openwave headers */ wkh_integer_value_header(openwave_x_up_proxy_push_seq, @@ -7071,7 +7071,7 @@ proto_register_wsp(void) wsp_fromudp_handle = create_dissector_handle(dissect_wsp_fromudp, proto_wsp); -}; +} void proto_reg_handoff_wsp(void) diff --git a/packet-wtp.c b/packet-wtp.c index e76300dedd..842fa7770f 100644 --- a/packet-wtp.c +++ b/packet-wtp.c @@ -2,7 +2,7 @@ * * Routines to dissect WTP component of WAP traffic. * - * $Id: packet-wtp.c,v 1.54 2003/12/15 22:38:29 obiot Exp $ + * $Id: packet-wtp.c,v 1.55 2003/12/21 05:51:34 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -971,7 +971,7 @@ proto_register_wtp(void) register_dissector("wtp-wtls", dissect_wtp_fromwtls, proto_wtp); register_dissector("wtp-udp", dissect_wtp_fromudp, proto_wtp); register_init_routine(wtp_defragment_init); -}; +} void proto_reg_handoff_wtp(void) diff --git a/packet-xdmcp.c b/packet-xdmcp.c index 9192d1d823..ebc179a33e 100644 --- a/packet-xdmcp.c +++ b/packet-xdmcp.c @@ -2,7 +2,7 @@ * Routines for XDMCP message dissection * Copyright 2002, Pasi Eronen * - * $Id: packet-xdmcp.c,v 1.3 2002/08/28 21:00:40 jmayer Exp $ + * $Id: packet-xdmcp.c,v 1.4 2003/12/21 05:51:34 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -504,7 +504,7 @@ void proto_register_xdmcp(void) /* Required function calls to register the header fields and subtrees used */ proto_register_field_array(proto_xdmcp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); -}; +} void proto_reg_handoff_xdmcp(void) -- cgit v1.2.3