From a2bc5bd01284b51aca5bdbdce1238f730026fd10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Wed, 22 Feb 2023 06:44:55 +0000 Subject: [PATCH] doc: Update header preamble for dissector skeleton --- doc/packet-PROTOABBREV.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/packet-PROTOABBREV.c b/doc/packet-PROTOABBREV.c index af11542918..7e17842e64 100644 --- a/doc/packet-PROTOABBREV.c +++ b/doc/packet-PROTOABBREV.c @@ -14,7 +14,12 @@ * detailed documentation, etc.) */ -#include +#include "config.h" +/* Define the name for the logging domain (try to avoid collisions with existing domains) */ +#define WS_LOG_DOMAIN "PROTOABBREV" + +/* Global header providing a minimum base set of required macros and APIs */ +#include #if 0 /* "System" includes used only as needed */ @@ -24,7 +29,7 @@ ... #endif -#include /* Should be first Wireshark include (other than config.h) */ +#include /* Required dissection API header */ #include /* Include only as needed */ #include /* Include only as needed */