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-stat.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'epan/dissectors/packet-stat.c') diff --git a/epan/dissectors/packet-stat.c b/epan/dissectors/packet-stat.c index e9843476d4..72c2644938 100644 --- a/epan/dissectors/packet-stat.c +++ b/epan/dissectors/packet-stat.c @@ -326,6 +326,7 @@ static const vsff stat1_proc[] = { void proto_register_stat(void) { +#ifndef HAVE_HFI_SECTION_INIT static header_field_info *hfi[] = { &hfi_stat_procedure_v1, &hfi_stat_mon_name, @@ -343,6 +344,7 @@ proto_register_stat(void) &hfi_stat_state, &hfi_stat_stat_chge, }; +#endif static gint *ett[] = { &ett_stat, -- cgit v1.2.3