aboutsummaryrefslogtreecommitdiffstats
path: root/src/serd_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-26 19:23:13 +0100
committerDavid Robillard <d@drobilla.net>2020-12-31 13:25:56 +0100
commitd101d926946a5e8067a90d157b6553aae7bddc19 (patch)
treee997425e9f972e402830d9ab8cb65005068e9619 /src/serd_internal.h
parent8a93d0b3be5b6d80a1bef85bc73b2661f5ab4376 (diff)
downloadserd-d101d926946a5e8067a90d157b6553aae7bddc19.tar.gz
serd-d101d926946a5e8067a90d157b6553aae7bddc19.tar.bz2
serd-d101d926946a5e8067a90d157b6553aae7bddc19.zip
Format all code with clang-format
Diffstat (limited to 'src/serd_internal.h')
-rw-r--r--src/serd_internal.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/serd_internal.h b/src/serd_internal.h
index 95c3b121..af9e7710 100644
--- a/src/serd_internal.h
+++ b/src/serd_internal.h
@@ -27,7 +27,7 @@
#define SERD_PAGE_SIZE 4096
#ifndef MIN
-# define MIN(a, b) (((a) < (b)) ? (a) : (b))
+# define MIN(a, b) (((a) < (b)) ? (a) : (b))
#endif
/* Error reporting */
@@ -35,12 +35,12 @@
static inline void
serd_error(SerdErrorSink error_sink, void* handle, const SerdError* e)
{
- if (error_sink) {
- error_sink(handle, e);
- } else {
- fprintf(stderr, "error: %s:%u:%u: ", e->filename, e->line, e->col);
- vfprintf(stderr, e->fmt, *e->args);
- }
+ if (error_sink) {
+ error_sink(handle, e);
+ } else {
+ fprintf(stderr, "error: %s:%u:%u: ", e->filename, e->line, e->col);
+ vfprintf(stderr, e->fmt, *e->args);
+ }
}
-#endif // SERD_INTERNAL_H
+#endif // SERD_INTERNAL_H