aboutsummaryrefslogtreecommitdiffstats
path: root/src/env.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-25 20:14:51 +0000
committerDavid Robillard <d@drobilla.net>2011-01-25 20:14:51 +0000
commit839dd67ed1716c2548e270160033b01d54dab03a (patch)
tree8e1d2296611b785623259f63466aa1dcc6f59a86 /src/env.c
parentee5b1d33acf8cf499bc0f3e3a02ad6262b4a3d05 (diff)
downloadserd-839dd67ed1716c2548e270160033b01d54dab03a.tar.gz
serd-839dd67ed1716c2548e270160033b01d54dab03a.tar.bz2
serd-839dd67ed1716c2548e270160033b01d54dab03a.zip
Move node functions into API.
git-svn-id: http://svn.drobilla.net/serd/trunk@75 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src/env.c')
-rw-r--r--src/env.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/env.c b/src/env.c
index ef649339..ac987ccc 100644
--- a/src/env.c
+++ b/src/env.c
@@ -32,16 +32,6 @@ struct SerdEnvImpl {
size_t n_prefixes;
};
-static SerdNode
-serd_node_copy(const SerdNode* node)
-{
- SerdNode copy = *node;
- uint8_t* buf = malloc(copy.n_bytes);
- memcpy(buf, node->buf, copy.n_bytes);
- copy.buf = buf;
- return copy;
-}
-
SERD_API
SerdEnv
serd_env_new()