From 8f29b993fdce549ab44f3529396d0cfb08637e01 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 15 Nov 2024 08:56:16 -0500 Subject: Add clang-format configuration --- src/sord.c | 3 +-- src/sord_validate.c | 3 +-- src/syntax.c | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) (limited to 'src') 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, -- cgit v1.2.1