summaryrefslogtreecommitdiffstats
path: root/test/missing_descriptor.lv2/missing_descriptor.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-07-15 17:23:09 +0200
committerDavid Robillard <d@drobilla.net>2020-07-16 23:37:49 +0200
commitf67eed15932940ef7953fbe3914a9cf1340329e4 (patch)
tree7857eed06da9b3363b76d2bbf3ce0a756d92afd8 /test/missing_descriptor.lv2/missing_descriptor.c
parent2c0c484d52cbbacbbfbffb6d490d83407823b7ea (diff)
downloadlilv-f67eed15932940ef7953fbe3914a9cf1340329e4.tar.gz
lilv-f67eed15932940ef7953fbe3914a9cf1340329e4.tar.bz2
lilv-f67eed15932940ef7953fbe3914a9cf1340329e4.zip
Add missing extern declaration
This avoids a clang warning about strict declarations.
Diffstat (limited to 'test/missing_descriptor.lv2/missing_descriptor.c')
-rw-r--r--test/missing_descriptor.lv2/missing_descriptor.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/missing_descriptor.lv2/missing_descriptor.c b/test/missing_descriptor.lv2/missing_descriptor.c
index 518313b..ec1b473 100644
--- a/test/missing_descriptor.lv2/missing_descriptor.c
+++ b/test/missing_descriptor.lv2/missing_descriptor.c
@@ -18,4 +18,7 @@
#include "lv2/core/lv2.h"
LV2_SYMBOL_EXPORT
+extern const char* msg;
+
+LV2_SYMBOL_EXPORT
const char* msg = "this is not the thing you're looking for";