aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2005-12-18 23:22:47 +0000
committerJörg Mayer <jmayer@loplof.de>2005-12-18 23:22:47 +0000
commitdba7a99e1dc72570c3979398798a15a7f4ebd571 (patch)
tree3b8fb5123fd79a1ddeae507480b9b343d1f074c5
parentb06bd208d001cee335a6be13706d4ffd08b87c3d (diff)
warning: C++ style comments are not allowed in ISO C90
svn path=/trunk/; revision=16853
-rw-r--r--epan/dissectors/packet-nhrp.c6
-rw-r--r--gtk/sctp_byte_graph_dlg.c2
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; i<size; i++)
{
diff = (gint)((struct tsn_sort*)(g_ptr_array_index(array, i)))->secs * 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)
{