aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/examples/sample-plugin/Makefile.am2
-rw-r--r--src/examples/sample-plugin/sample/sample.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/sample-plugin/Makefile.am b/src/examples/sample-plugin/Makefile.am
index e221f8c1aa9..47642055a78 100644
--- a/src/examples/sample-plugin/Makefile.am
+++ b/src/examples/sample-plugin/Makefile.am
@@ -41,7 +41,7 @@ SUFFIXES = .api.h .api
| vppapigen --input - --json $@
apidir = $(prefix)/sample/
-api_DATA = sample.api.json
+api_DATA = sample/sample.api.json
noinst_HEADERS = \
sample/sample_all_api_h.h \
diff --git a/src/examples/sample-plugin/sample/sample.h b/src/examples/sample-plugin/sample/sample.h
index d268d482ed2..6137ffff487 100644
--- a/src/examples/sample-plugin/sample/sample.h
+++ b/src/examples/sample-plugin/sample/sample.h
@@ -35,6 +35,6 @@ typedef struct {
sample_main_t sample_main;
-vlib_node_registration_t sample_node;
+extern vlib_node_registration_t sample_node;
#endif /* __included_sample_h__ */