aboutsummaryrefslogtreecommitdiffstats
path: root/doc/plugins.example
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2021-11-12 12:53:21 -0800
committerGuy Harris <gharris@sonic.net>2021-11-12 12:53:21 -0800
commit6d96d8bbc203b6481cfa86967e1f2671a49fa1be (patch)
treeded29a64fa0445082fa5c6f826e6def19f626224 /doc/plugins.example
parent2445180fa743e5d9453e21d3d5d0485497276cdb (diff)
Don't include config.h in the example plugin.
Wireshark's config.h isn't available to third-party plugins, and the developers of the plugin might not even have their own config.h, so don't include it in the example (if it *does* have its own config.h, the developers will presumbly know that they should include it).
Diffstat (limited to 'doc/plugins.example')
-rw-r--r--doc/plugins.example/hello.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/doc/plugins.example/hello.c b/doc/plugins.example/hello.c
index d80265b258..55953380eb 100644
--- a/doc/plugins.example/hello.c
+++ b/doc/plugins.example/hello.c
@@ -7,8 +7,6 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
-#include "config.h"
-
#define WS_BUILD_DLL
#include <wireshark.h>
#include <epan/packet.h>