aboutsummaryrefslogtreecommitdiffstats
path: root/doc/packet-PROTOABBREV.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2014-12-21 01:55:48 -0500
committerBill Meier <wmeier@newsguy.com>2014-12-21 07:18:28 +0000
commit806ebca6a557ed4c68c554a2ff6020e398728394 (patch)
tree5db26f5a0aa3287481b88985e4655a88ed4e9929 /doc/packet-PROTOABBREV.c
parentce211a4d61245379206874753b22a5b9cd07c4af (diff)
packet-PROTOABBREV.c: Update re #includeusage
- packet.h should be first Wireshark #include after config.h and "system" includes. - '#include <glib.h>' not needed. Change-Id: Ibec076818f3f509aabb4d240e939ef719f3798d6 Reviewed-on: https://code.wireshark.org/review/5939 Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'doc/packet-PROTOABBREV.c')
-rw-r--r--doc/packet-PROTOABBREV.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/packet-PROTOABBREV.c b/doc/packet-PROTOABBREV.c
index 469b5b227d..827b9a6570 100644
--- a/doc/packet-PROTOABBREV.c
+++ b/doc/packet-PROTOABBREV.c
@@ -29,16 +29,14 @@
#include "config.h"
#if 0
-/* Include only as needed */
+/* "System" includes used only as needed */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
...
#endif
-#include <glib.h>
-
-#include <epan/packet.h>
+#include <epan/packet.h> /* Should be first Wireshark include (other than config.h)
#include <epan/expert.h> /* Include only as needed */
#include <epan/prefs.h> /* Include only as needed */