aboutsummaryrefslogtreecommitdiffstats
path: root/src/system.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-10 15:44:37 +0100
committerDavid Robillard <d@drobilla.net>2020-11-10 18:29:45 +0100
commitbafa091fada7b3fdc663567abc0a7455bc3a77c9 (patch)
tree68c73bbdec5d0fa83cc2913c7a13f48e84a3bdff /src/system.h
parentf820212f2ac92400cf277686e4f79e740b95688c (diff)
downloadserd-bafa091fada7b3fdc663567abc0a7455bc3a77c9.tar.gz
serd-bafa091fada7b3fdc663567abc0a7455bc3a77c9.tar.bz2
serd-bafa091fada7b3fdc663567abc0a7455bc3a77c9.zip
Add const, pure, and malloc function attributes
Diffstat (limited to 'src/system.h')
-rw-r--r--src/system.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/system.h b/src/system.h
index b1b84925..0f6a0e0b 100644
--- a/src/system.h
+++ b/src/system.h
@@ -17,12 +17,14 @@
#ifndef SERD_SYSTEM_H
#define SERD_SYSTEM_H
+#include "attributes.h"
+
#include <stdio.h>
FILE*
serd_fopen(const char* path, const char* mode);
-void*
+SERD_MALLOC_FUNC void*
serd_bufalloc(size_t size);
#endif // SERD_SYSTEM_H