aboutsummaryrefslogtreecommitdiffstats
path: root/epan/asm_utils.c
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2017-09-05 17:18:00 +0100
committerJoão Valverde <j@v6e.pt>2017-09-06 08:10:56 +0000
commitd0a91b27f26762e9c998cc5e6fe71767de5d32c7 (patch)
tree9850efb16c84537dba93ee3d6ac8b186036ae00b /epan/asm_utils.c
parent143bc04ca7c11b4f5a0feef4c01627c9aee6bcd4 (diff)
plugins: config.h must not be included by public headers
For a sane plugin build environment. Include config.h as the first header in the .c file instead. Fix by moving required compiler attribute macros to a new "ws_attributes.h" API header. Change-Id: I34f58a927f68c1a0e59686c14d214825149749e1 Reviewed-on: https://code.wireshark.org/review/23400 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'epan/asm_utils.c')
-rw-r--r--epan/asm_utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/asm_utils.c b/epan/asm_utils.c
index e02a737850..62ef49b095 100644
--- a/epan/asm_utils.c
+++ b/epan/asm_utils.c
@@ -26,6 +26,7 @@
#include <glib.h>
#include "asm_utils.h"
+#include "ws_attributes.h"
/* String comparison func for dfilter_token GTree */
gint