summaryrefslogtreecommitdiffstats
path: root/extras/emacs/plugin-h-skel.el
diff options
context:
space:
mode:
Diffstat (limited to 'extras/emacs/plugin-h-skel.el')
-rw-r--r--extras/emacs/plugin-h-skel.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/extras/emacs/plugin-h-skel.el b/extras/emacs/plugin-h-skel.el
index 465a069de1e..b3fa6460bd2 100644
--- a/extras/emacs/plugin-h-skel.el
+++ b/extras/emacs/plugin-h-skel.el
@@ -62,10 +62,10 @@ typedef struct {
ethernet_main_t * ethernet_main;
} " plugin-name "_main_t;
-" plugin-name "_main_t " plugin-name "_main;
+extern " plugin-name "_main_t " plugin-name "_main;
-vlib_node_registration_t " plugin-name "_node;
-vlib_node_registration_t " plugin-name "_periodic_node;
+extern vlib_node_registration_t " plugin-name "_node;
+extern vlib_node_registration_t " plugin-name "_periodic_node;
/* Periodic function events */
#define " PLUGIN-NAME "_EVENT1 1