summaryrefslogtreecommitdiffstats
path: root/src/examples/sample-plugin/sample/sample.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-01-17 22:38:58 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2017-01-17 21:40:20 +0000
commita18c7c0d5c117aab65b2be1facd646ec393a1a80 (patch)
tree6b1be5081396be21c6c601d3ee79cb6a416c9ac1 /src/examples/sample-plugin/sample/sample.h
parent8a6a3b2ddb2e2929c4697b31746b3f617886f157 (diff)
sample-plugin: fix build
Change-Id: I8a2c91c4148981db31317ef9d2c5c2c28942daa9 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/examples/sample-plugin/sample/sample.h')
-rw-r--r--src/examples/sample-plugin/sample/sample.h2
1 files changed, 1 insertions, 1 deletions
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__ */