diff options
author | David Robillard <d@drobilla.net> | 2024-11-15 08:56:16 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-11-15 08:56:16 -0500 |
commit | 8f29b993fdce549ab44f3529396d0cfb08637e01 (patch) | |
tree | d77e9a1c3498b2d96b89f680ecd615f3cc161adf /src | |
parent | af0663da39d5526b081ab6a6c791240958c7032d (diff) | |
download | sord-8f29b993fdce549ab44f3529396d0cfb08637e01.tar.gz sord-8f29b993fdce549ab44f3529396d0cfb08637e01.tar.bz2 sord-8f29b993fdce549ab44f3529396d0cfb08637e01.zip |
Add clang-format configuration
Diffstat (limited to 'src')
-rw-r--r-- | src/sord.c | 3 | ||||
-rw-r--r-- | src/sord_validate.c | 3 | ||||
-rw-r--r-- | src/syntax.c | 3 |
3 files changed, 3 insertions, 6 deletions
@@ -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, |