aboutsummaryrefslogtreecommitdiffstats
path: root/src/node.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-11 22:11:22 +0000
committerDavid Robillard <d@drobilla.net>2011-12-11 22:11:22 +0000
commitea1936a594d7e4e656731223b76d355fc5431ef9 (patch)
tree87393e02793fba4cd44fb8da2db83f24380b509a /src/node.c
parente08decb5992d6511e6896939a4cd9ad157831b78 (diff)
downloadserd-ea1936a594d7e4e656731223b76d355fc5431ef9.tar.gz
serd-ea1936a594d7e4e656731223b76d355fc5431ef9.tar.bz2
serd-ea1936a594d7e4e656731223b76d355fc5431ef9.zip
Move all #ifdef gunk to serd_internal.h.
Centralise file open and buffer allocation to localize platform tweaks. git-svn-id: http://svn.drobilla.net/serd/trunk@244 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src/node.c')
-rw-r--r--src/node.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node.c b/src/node.c
index 224bf407..02d6f493 100644
--- a/src/node.c
+++ b/src/node.c
@@ -14,11 +14,11 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "serd_internal.h"
+
#include <stdlib.h>
#include <string.h>
-#include "serd_internal.h"
-
SERD_API
SerdNode
serd_node_from_string(SerdType type, const uint8_t* buf)