From 71217a80071adae12b53253e3025b2220e6c89f5 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 1 Jan 2005 02:57:02 +0000 Subject: As we've made the tap_specific_data field of a tap_packet_t structure a const pointer (so that we don't get complaints when we make the tap-specific data argument to "tap_queue_packet()" a const pointer, allowing dissectors to hand const data to a tap without a complaint), we should make the tap per-packet function take a const pointer as an argument as well. Do so. In some taps, use _U_, or actually use the argument, rather than sticking in dummy "X = X" assignments to fake use of parameters. (This means that the tap functions in question no longer have the notion that they act on a particular static structure wired in.) svn path=/trunk/; revision=12910 --- gtk/service_response_time_table.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/service_response_time_table.h') diff --git a/gtk/service_response_time_table.h b/gtk/service_response_time_table.h index 223c9e8998..108cd91a00 100644 --- a/gtk/service_response_time_table.h +++ b/gtk/service_response_time_table.h @@ -75,7 +75,7 @@ void init_srt_table_row(srt_stat_table *rst, int index, char *procedure); * @param req_time the time of the corresponding request * @param pinfo current packet info */ -void add_srt_table_data(srt_stat_table *rst, int index, nstime_t *req_time, packet_info *pinfo); +void add_srt_table_data(srt_stat_table *rst, int index, const nstime_t *req_time, packet_info *pinfo); /** Draw the srt table data. * -- cgit v1.2.3