summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-05-01 21:16:31 +0000
committerDavid Robillard <d@drobilla.net>2008-05-01 21:16:31 +0000
commit572832bfd010ee82717ea0217b125404d11e5a16 (patch)
tree46ca15e9ccfd9dabe540bb6e4aa5187f679aecb2
parent523543470188a91e487a1a11963004d311be6023 (diff)
downloadlilv-572832bfd010ee82717ea0217b125404d11e5a16.tar.gz
lilv-572832bfd010ee82717ea0217b125404d11e5a16.tar.bz2
lilv-572832bfd010ee82717ea0217b125404d11e5a16.zip
GCC 4.3 fixes.
git-svn-id: http://svn.drobilla.net/lad/slv2@1191 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--hosts/lv2_jack_host.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/hosts/lv2_jack_host.c b/hosts/lv2_jack_host.c
index 8044cbf..52b6aff 100644
--- a/hosts/lv2_jack_host.c
+++ b/hosts/lv2_jack_host.c
@@ -88,13 +88,14 @@ static const LV2_Feature uri_map_feature = { "http://lv2plug.in/ns/ext/uri-map",
/** We don't support type 0 events, so the ref and unref functions just point
to the same empty function. */
uint32_t event_ref_func(LV2_Event_Callback_Data callback_data,
- LV2_Event* event) {
-
+ LV2_Event* event)
+{
+ return 0;
}
static LV2_Event_Feature event_ref = { NULL, &event_ref_func, &event_ref_func };
static const LV2_Feature event_ref_feature = { "http://lv2plug.in/ns/ext/event",
- &event_ref };
+ &event_ref };
const LV2_Feature* features[3] = { &uri_map_feature, &event_ref_feature, NULL };