diff options
author | David Robillard <d@drobilla.net> | 2011-03-07 04:17:11 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-03-07 04:17:11 +0000 |
commit | ac6ebc5a2e31ab28888406ec2c47b4a5ca390114 (patch) | |
tree | 77ab6cedba52b8ff85544a6b26ecff3892157b8a /src | |
parent | dc07e86bc7416e494401d242db91a85ca0a84526 (diff) | |
download | lilv-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.c | 11 |
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; } - |