summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-07 04:17:11 +0000
committerDavid Robillard <d@drobilla.net>2011-03-07 04:17:11 +0000
commitac6ebc5a2e31ab28888406ec2c47b4a5ca390114 (patch)
tree77ab6cedba52b8ff85544a6b26ecff3892157b8a /src
parentdc07e86bc7416e494401d242db91a85ca0a84526 (diff)
downloadlilv-ac6ebc5a2e31ab28888406ec2c47b4a5ca390114.tar.gz
lilv-ac6ebc5a2e31ab28888406ec2c47b4a5ca390114.tar.bz2
lilv-ac6ebc5a2e31ab28888406ec2c47b4a5ca390114.zip
Tidy.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3046 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/scalepoint.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/scalepoint.c b/src/scalepoint.c
index 380a4b0..31ce98f 100644
--- a/src/scalepoint.c
+++ b/src/scalepoint.c
@@ -23,14 +23,6 @@
THE POSSIBILITY OF SUCH DAMAGE.
*/
-#define _XOPEN_SOURCE 500
-
-#include <assert.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include <glib.h>
-
#include "slv2_internal.h"
/** Ownership of value and label is taken */
@@ -39,7 +31,7 @@ slv2_scale_point_new(SLV2Value value, SLV2Value label)
{
SLV2ScalePoint point = (SLV2ScalePoint)malloc(sizeof(struct _SLV2ScalePoint));
point->value = value;
- point->label= label;
+ point->label = label;
return point;
}
@@ -64,4 +56,3 @@ slv2_scale_point_get_label(SLV2ScalePoint p)
{
return p->label;
}
-