diff options
author | David Robillard <d@drobilla.net> | 2011-02-04 04:24:44 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-02-04 04:24:44 +0000 |
commit | b2789940c700c882bf59eedac74487db54a0b3d5 (patch) | |
tree | 12ef4ce8db29f317e4008e1f66a8bae054d992d5 /slv2 | |
parent | e73639a492420a1da380686aa4a7640a3b2c0b29 (diff) | |
download | lilv-b2789940c700c882bf59eedac74487db54a0b3d5.tar.gz lilv-b2789940c700c882bf59eedac74487db54a0b3d5.tar.bz2 lilv-b2789940c700c882bf59eedac74487db54a0b3d5.zip |
Declare parameterless functions as foo(void), not foo() (which means any - not no - arguments).
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2906 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2')
-rw-r--r-- | slv2/collections.h | 4 | ||||
-rw-r--r-- | slv2/world.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/slv2/collections.h b/slv2/collections.h index 0425655..4233917 100644 --- a/slv2/collections.h +++ b/slv2/collections.h @@ -149,7 +149,7 @@ slv2_plugin_classes_get_by_uri(SLV2PluginClasses classes, */ SLV2_API SLV2ScalePoints -slv2_scale_points_new(); +slv2_scale_points_new(void); /* **** VALUES **** */ @@ -157,7 +157,7 @@ slv2_scale_points_new(); */ SLV2_API SLV2Values -slv2_values_new(); +slv2_values_new(void); /** Return whether \a values contains \a value. * diff --git a/slv2/world.h b/slv2/world.h index 4404c3f..de3bf04 100644 --- a/slv2/world.h +++ b/slv2/world.h @@ -50,7 +50,7 @@ extern "C" { */ SLV2_API SLV2World -slv2_world_new(); +slv2_world_new(void); /** Destroy the world, mwahaha. * |