aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/h225_ras_srt.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-01-01 02:57:02 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-01-01 02:57:02 +0000
commite363d0992ef6e2edee5c01d3f75a7a609947f9ad (patch)
tree0e6002853a3a04b81db3f093f0a09459ebbccc7e /gtk/h225_ras_srt.c
parent8bee6b7ac4fc936e62a7a2aed657d3e3afd9389a (diff)
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.) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12910 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/h225_ras_srt.c')
-rw-r--r--gtk/h225_ras_srt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/h225_ras_srt.c b/gtk/h225_ras_srt.c
index 0787ed6c1d..4aff0d1695 100644
--- a/gtk/h225_ras_srt.c
+++ b/gtk/h225_ras_srt.c
@@ -142,10 +142,10 @@ h225rassrt_reset(void *phs)
static int
-h225rassrt_packet(void *phs, packet_info *pinfo _U_, epan_dissect_t *edt _U_, void *phi)
+h225rassrt_packet(void *phs, packet_info *pinfo _U_, epan_dissect_t *edt _U_, const void *phi)
{
h225rassrt_t *hs=(h225rassrt_t *)phs;
- h225_packet_info *pi=phi;
+ const h225_packet_info *pi=phi;
ras_type rasmsg_type = RAS_OTHER;
ras_category rascategory = RAS_OTHERS;