summaryrefslogtreecommitdiffstats
path: root/src/examples
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/sample-plugin/sample/sample.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/examples/sample-plugin/sample/sample.c b/src/examples/sample-plugin/sample/sample.c
index 703e604201f..91e8939f789 100644
--- a/src/examples/sample-plugin/sample/sample.c
+++ b/src/examples/sample-plugin/sample/sample.c
@@ -63,6 +63,8 @@ VLIB_PLUGIN_REGISTER () = {
};
/* *INDENT-ON* */
+sample_main_t sample_main;
+
/**
* @brief Enable/disable the macswap plugin.
*