diff options
author | David Robillard <d@drobilla.net> | 2012-08-09 01:57:23 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-09 01:57:23 +0000 |
commit | e6e94966b45ab25c8852445ee05869de879819df (patch) | |
tree | 18233dd7b830c7ea49522ff09ad23a0d5fffb82a | |
parent | 5a8f20f5a7b818e8e9d0be7f24f232bed0078834 (diff) | |
download | lv2-e6e94966b45ab25c8852445ee05869de879819df.tar.xz |
Fix missing static declarations (-Wstrict-prototypes).
-rw-r--r-- | plugins/eg-amp.lv2/amp.c | 2 | ||||
-rw-r--r-- | plugins/eg-sampler.lv2/sampler_ui.c | 2 | ||||
-rw-r--r-- | plugins/eg-synth.lv2/synth.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/eg-amp.lv2/amp.c b/plugins/eg-amp.lv2/amp.c index 189a697..7f7cacc 100644 --- a/plugins/eg-amp.lv2/amp.c +++ b/plugins/eg-amp.lv2/amp.c @@ -120,7 +120,7 @@ cleanup(LV2_Handle instance) } /** Return extension data provided by the plugin. */ -const void* +static const void* extension_data(const char* uri) { return NULL; /* This plugin has no extension data. */ diff --git a/plugins/eg-sampler.lv2/sampler_ui.c b/plugins/eg-sampler.lv2/sampler_ui.c index 16d8d50..40922ae 100644 --- a/plugins/eg-sampler.lv2/sampler_ui.c +++ b/plugins/eg-sampler.lv2/sampler_ui.c @@ -174,7 +174,7 @@ port_event(LV2UI_Handle handle, } } -const void* +static const void* extension_data(const char* uri) { return NULL; diff --git a/plugins/eg-synth.lv2/synth.c b/plugins/eg-synth.lv2/synth.c index 4bed709..d969057 100644 --- a/plugins/eg-synth.lv2/synth.c +++ b/plugins/eg-synth.lv2/synth.c @@ -140,7 +140,7 @@ cleanup(LV2_Handle instance) } /** Return extension data provided by the plugin. */ -const void* +static const void* extension_data(const char* uri) { return NULL; /* This plugin has no extension data. */ |