From ce6ca9a05d50ed8a0ffb613ae6af4fd304b39ccb Mon Sep 17 00:00:00 2001 From: Jakub Zawadzki Date: Thu, 7 Nov 2013 20:14:18 +0000 Subject: Add infrastructure for section-initializing protocol hfis (without array). configure implementation later. svn path=/trunk/; revision=53146 --- epan/dissectors/packet-jpeg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'epan/dissectors/packet-jpeg.c') diff --git a/epan/dissectors/packet-jpeg.c b/epan/dissectors/packet-jpeg.c index b8f639f4dd..be87693edb 100644 --- a/epan/dissectors/packet-jpeg.c +++ b/epan/dissectors/packet-jpeg.c @@ -259,7 +259,7 @@ dissect_jpeg( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree ) void proto_register_jpeg(void) { - +#ifndef HAVE_HFI_SECTION_INIT static header_field_info *hfi[] = { &hfi_rtp_jpeg_main_hdr, @@ -281,6 +281,7 @@ proto_register_jpeg(void) &hfi_rtp_jpeg_qtable_hdr_data, &hfi_rtp_jpeg_payload, }; +#endif static gint *ett[] = { -- cgit v1.2.3