aboutsummaryrefslogtreecommitdiffstats
path: root/src/system.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/system.h
parent8a93d0b3be5b6d80a1bef85bc73b2661f5ab4376 (diff)
downloadserd-d101d926946a5e8067a90d157b6553aae7bddc19.tar.gz
serd-d101d926946a5e8067a90d157b6553aae7bddc19.tar.bz2
serd-d101d926946a5e8067a90d157b6553aae7bddc19.zip
Format all code with clang-format
Diffstat (limited to 'src/system.h')
-rw-r--r--src/system.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/system.h b/src/system.h
index 57203820..fe2713b5 100644
--- a/src/system.h
+++ b/src/system.h
@@ -22,15 +22,19 @@
#include <stdio.h>
/// Open a file configured for fast sequential reading
-FILE* serd_fopen(const char* path, const char* mode);
+FILE*
+serd_fopen(const char* path, const char* mode);
/// Allocate a buffer aligned to `alignment` bytes
-SERD_MALLOC_FUNC void* serd_malloc_aligned(size_t alignment, size_t size);
+SERD_MALLOC_FUNC void*
+serd_malloc_aligned(size_t alignment, size_t size);
/// Allocate an aligned buffer for I/O
-SERD_MALLOC_FUNC void* serd_allocate_buffer(size_t size);
+SERD_MALLOC_FUNC void*
+serd_allocate_buffer(size_t size);
/// Free a buffer allocated with an aligned allocation function
-void serd_free_aligned(void* ptr);
+void
+serd_free_aligned(void* ptr);
#endif // SERD_SYSTEM_H