aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/reader.c3
-rw-r--r--src/serd_internal.h3
-rw-r--r--src/writer.c3
3 files changed, 3 insertions, 6 deletions
diff --git a/src/reader.c b/src/reader.c
index 465efcb8..5d996e34 100644
--- a/src/reader.c
+++ b/src/reader.c
@@ -25,9 +25,6 @@
#include <stdlib.h>
#include <string.h>
-#define NS_XSD "http://www.w3.org/2001/XMLSchema#"
-#define NS_RDF "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-
#define TRY_THROW(exp) if (!(exp)) goto except;
#define TRY_RET(exp) if (!(exp)) return 0;
diff --git a/src/serd_internal.h b/src/serd_internal.h
index 9af5195b..5cda4d16 100644
--- a/src/serd_internal.h
+++ b/src/serd_internal.h
@@ -33,6 +33,9 @@
# include <fcntl.h>
#endif
+#define NS_XSD "http://www.w3.org/2001/XMLSchema#"
+#define NS_RDF "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+
#define SERD_PAGE_SIZE 4096
#ifndef MIN
diff --git a/src/writer.c b/src/writer.c
index c21676b2..3051232d 100644
--- a/src/writer.c
+++ b/src/writer.c
@@ -21,9 +21,6 @@
#include <stdlib.h>
#include <string.h>
-#define NS_RDF "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-#define NS_XSD "http://www.w3.org/2001/XMLSchema#"
-
typedef struct {
SerdNode graph;
SerdNode subject;