aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/dissectors/epan/rfnoc/packet-rfnoc.cpp2
-rw-r--r--tools/dissectors/epan/zpu/packet-zpu.c2
-rwxr-xr-xtools/dissectors/make-plugin-reg.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/tools/dissectors/epan/rfnoc/packet-rfnoc.cpp b/tools/dissectors/epan/rfnoc/packet-rfnoc.cpp
index 05e08b796..a0e699764 100644
--- a/tools/dissectors/epan/rfnoc/packet-rfnoc.cpp
+++ b/tools/dissectors/epan/rfnoc/packet-rfnoc.cpp
@@ -6,6 +6,7 @@
* SPDX-License-Identifier: GPL-3.0-or-later
*/
+#include <glib.h>
#ifdef __cplusplus
extern "C" {
#endif
@@ -14,7 +15,6 @@ extern "C" {
# include "config.h"
#endif
-#include <glib.h>
#include <epan/packet.h>
#ifdef __cplusplus
diff --git a/tools/dissectors/epan/zpu/packet-zpu.c b/tools/dissectors/epan/zpu/packet-zpu.c
index 3eff36997..dcbc1923c 100644
--- a/tools/dissectors/epan/zpu/packet-zpu.c
+++ b/tools/dissectors/epan/zpu/packet-zpu.c
@@ -18,6 +18,7 @@
* uint32_t data;
*/
+#include <glib.h>
#ifdef __cplusplus
extern "C" {
#endif
@@ -26,7 +27,6 @@ extern "C" {
#include "config.h"
#endif
-#include <glib.h>
#include <epan/packet.h>
#ifdef __cplusplus
diff --git a/tools/dissectors/make-plugin-reg.py b/tools/dissectors/make-plugin-reg.py
index 6c394da97..14a0df804 100755
--- a/tools/dissectors/make-plugin-reg.py
+++ b/tools/dissectors/make-plugin-reg.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# Looks for registration routines in the plugins
# and assembles C code to call all the routines.