From dba7a99e1dc72570c3979398798a15a7f4ebd571 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Mayer?= Date: Sun, 18 Dec 2005 23:22:47 +0000 Subject: warning: C++ style comments are not allowed in ISO C90 svn path=/trunk/; revision=16853 --- epan/dissectors/packet-nhrp.c | 6 +++--- gtk/sctp_byte_graph_dlg.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/epan/dissectors/packet-nhrp.c b/epan/dissectors/packet-nhrp.c index ac659a7e48..506fa8c949 100644 --- a/epan/dissectors/packet-nhrp.c +++ b/epan/dissectors/packet-nhrp.c @@ -381,7 +381,7 @@ void dissect_nhrp_mand(tvbuff_t *tvb, offset += 2; } - // TBD : Check for hdr->afn + /* TBD : Check for hdr->afn */ shl = hdr->ar_shtl & 0x3f; if (shl) { tvb_ensure_bytes_exist(tvb, offset, shl); @@ -523,7 +523,7 @@ void dissect_nhrp_mand(tvbuff_t *tvb, *pOffset = mandEnd; } -// TBD : Decode Authentication Extension and Vendor Specific Extension +/* TBD : Decode Authentication Extension and Vendor Specific Extension */ void dissect_nhrp_ext(tvbuff_t *tvb, proto_tree *tree, gint *pOffset, @@ -582,7 +582,7 @@ void dissect_nhrp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) proto_item *ti = NULL; proto_tree *nhrp_tree = NULL; - // Fixed header is always 20 bytes. + /* Fixed header is always 20 bytes. */ tvb_ensure_bytes_exist(tvb, offset, 20); memset(&hdr, 0, sizeof(e_nhrp_hdr)); diff --git a/gtk/sctp_byte_graph_dlg.c b/gtk/sctp_byte_graph_dlg.c index 4d5db54aec..9a80fd49ac 100644 --- a/gtk/sctp_byte_graph_dlg.c +++ b/gtk/sctp_byte_graph_dlg.c @@ -190,7 +190,7 @@ static void draw_sack_graph(struct sctp_udata *u_data) for (i=0; isecs * 1000000 + ((struct tsn_sort*)(g_ptr_array_index(array, i)))->usecs - u_data->io->min_x; - //start = ((struct tsn_sort*)(g_ptr_array_index(array, i)))->offset; + /*start = ((struct tsn_sort*)(g_ptr_array_index(array, i)))->offset; */ end = start + ((struct tsn_sort*)(g_ptr_array_index(array, i)))->length; if (end>max_tsn) { -- cgit v1.2.3