summaryrefslogtreecommitdiff
path: root/src/raptor_namespace.c
diff options
context:
space:
mode:
authorDave Beckett <dave@dajobe.org>2004-12-31 20:49:18 +0000
committerDave Beckett <dave@dajobe.org>2004-12-31 20:49:18 +0000
commite9e7adfaf2ce96f683efe11c1d959b02444f6b85 (patch)
tree67322e41018a7eb67ca74f617ab1aa3966f6dd4d /src/raptor_namespace.c
parent7a7d1426ebd70005479eedc416caf5c1dc491042 (diff)
downloadraptor-e9e7adfaf2ce96f683efe11c1d959b02444f6b85.tar.gz
#formatting
Diffstat (limited to 'src/raptor_namespace.c')
-rw-r--r--src/raptor_namespace.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/raptor_namespace.c b/src/raptor_namespace.c
index 5373378d..276f15b0 100644
--- a/src/raptor_namespace.c
+++ b/src/raptor_namespace.c
@@ -191,7 +191,6 @@ raptor_namespaces_start_namespace_full(raptor_namespace_stack *nstack,
const unsigned char *prefix,
const unsigned char *ns_uri_string,
int depth)
-
{
raptor_namespace *ns;
@@ -205,7 +204,8 @@ raptor_namespaces_start_namespace_full(raptor_namespace_stack *nstack,
void
-raptor_namespaces_clear(raptor_namespace_stack *nstack) {
+raptor_namespaces_clear(raptor_namespace_stack *nstack)
+{
raptor_namespace *ns=nstack->top;
while(ns) {
raptor_namespace* next_ns=ns->next;
@@ -226,7 +226,8 @@ raptor_namespaces_clear(raptor_namespace_stack *nstack) {
void
-raptor_free_namespaces(raptor_namespace_stack *nstack) {
+raptor_free_namespaces(raptor_namespace_stack *nstack)
+{
raptor_namespaces_clear(nstack);
RAPTOR_FREE(raptor_namespace_stack, nstack);
}