summaryrefslogtreecommitdiffstats
path: root/src/sordi.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-13 15:47:32 +0000
committerDavid Robillard <d@drobilla.net>2011-05-13 15:47:32 +0000
commitc99d1b4e0037d2add04310b8b72aa9242e89f570 (patch)
treef8f9c995cfa3f4e49df5f82a2fe600f0f819c1f9 /src/sordi.c
parent78f77da4ceeddd757cb971315f185a163c5b456d (diff)
downloadsord-c99d1b4e0037d2add04310b8b72aa9242e89f570.tar.gz
sord-c99d1b4e0037d2add04310b8b72aa9242e89f570.tar.bz2
sord-c99d1b4e0037d2add04310b8b72aa9242e89f570.zip
Tidy.
git-svn-id: http://svn.drobilla.net/sord/trunk@114 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'src/sordi.c')
-rw-r--r--src/sordi.c25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/sordi.c b/src/sordi.c
index 493e4d1..ad1329c 100644
--- a/src/sordi.c
+++ b/src/sordi.c
@@ -35,7 +35,7 @@ print_version()
{
printf("sordi " SORD_VERSION " <http://drobilla.net/software/sord>\n");
printf("Copyright 2011 David Robillard <http://drobilla.net>.\n"
- "\nLicense: Simplified BSD License.\n"
+ "License: <http://www.opensource.org/licenses/isc-license>\n"
"This is free software; you are free to change and redistribute it."
"\nThere is NO WARRANTY, to the extent permitted by law.\n");
return 0;
@@ -60,29 +60,6 @@ file_sink(const void* buf, size_t len, void* stream)
return fwrite(buf, 1, len, file);
}
-static inline SerdNode
-serd_node_from_sord_node(const SordNode* n)
-{
- size_t n_bytes = 0;
- const uint8_t* buf = sord_node_get_string_counted(n, &n_bytes);
- SerdNode sn = {
- (const uint8_t*)buf, n_bytes, n_bytes - 1, sord_node_get_flags(n), SERD_NOTHING
- };
- // FIXME: UTF-8
- switch (sord_node_get_type(n)) {
- case SORD_URI:
- sn.type = SERD_URI;
- break;
- case SORD_BLANK:
- sn.type = SERD_BLANK_ID;
- break;
- case SORD_LITERAL:
- sn.type = SERD_LITERAL;
- break;
- }
- return sn;
-}
-
int
main(int argc, char** argv)
{