From e6e94966b45ab25c8852445ee05869de879819df Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 9 Aug 2012 01:57:23 +0000 Subject: Fix missing static declarations (-Wstrict-prototypes). --- plugins/eg-amp.lv2/amp.c | 2 +- plugins/eg-sampler.lv2/sampler_ui.c | 2 +- plugins/eg-synth.lv2/synth.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins') 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. */ -- cgit v1.2.1