From 3fcad2c110207e8a6bc8dc688a98e94795c067b1 Mon Sep 17 00:00:00 2001 From: krj Date: Sun, 6 Sep 2009 06:07:53 +0000 Subject: Add NEW_PACKET_LIST guard to color_filters_colorize_packet() git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29729 f5534014-38df-0310-8fa8-9805f1628bb7 --- color_filters.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'color_filters.c') diff --git a/color_filters.c b/color_filters.c index eee30e172c..28297e198b 100644 --- a/color_filters.c +++ b/color_filters.c @@ -439,10 +439,14 @@ color_filters_prime_edt(epan_dissect_t *edt) } /* Colorize a single packet of the packet list (old packet list) - * (row is only _U_ for the NEW_PACKET_LIST case + * * Return the color_t for later use (new packet list) */ color_filter_t * -color_filters_colorize_packet(gint row _U_, epan_dissect_t *edt) +#ifdef NEW_PACKET_LIST +color_filters_colorize_packet(epan_dissect_t *edt) +#else +color_filters_colorize_packet(gint row, epan_dissect_t *edt) +#endif { GSList *curr; color_filter_t *colorf; -- cgit v1.2.3