summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sord.c3
-rw-r--r--src/sord_validate.c3
-rw-r--r--src/syntax.c3
3 files changed, 3 insertions, 6 deletions
diff --git a/src/sord.c b/src/sord.c
index 1adab9e..ed7f40c 100644
--- a/src/sord.c
+++ b/src/sord.c
@@ -209,8 +209,7 @@ sord_node_create(const SordNode* const node)
return copy;
}
-SORD_LOG_FUNC(3, 4)
-static void
+SORD_LOG_FUNC(3, 4) static void
error(SordWorld* world, SerdStatus st, const char* fmt, ...)
{
va_list args;
diff --git a/src/sord_validate.c b/src/sord_validate.c
index 47c2051..094c421 100644
--- a/src/sord_validate.c
+++ b/src/sord_validate.c
@@ -132,8 +132,7 @@ absolute_path(const uint8_t* path)
#endif
}
-SORD_LOG_FUNC(2, 3)
-static int
+SORD_LOG_FUNC(2, 3) static int
errorf(const SordQuad quad, const char* fmt, ...)
{
va_list args;
diff --git a/src/syntax.c b/src/syntax.c
index b15eccc..dc80180 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -79,8 +79,7 @@ sord_inserter_write_statement(SordInserter* inserter,
return SERD_SUCCESS;
}
-SORD_API
-SerdReader*
+SORD_API SerdReader*
sord_new_reader(SordModel* model,
SerdEnv* env,
SerdSyntax syntax,