diff options
author | David Robillard <d@drobilla.net> | 2020-11-10 15:44:37 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-10 18:29:45 +0100 |
commit | bafa091fada7b3fdc663567abc0a7455bc3a77c9 (patch) | |
tree | 68c73bbdec5d0fa83cc2913c7a13f48e84a3bdff /src/serdi.c | |
parent | f820212f2ac92400cf277686e4f79e740b95688c (diff) | |
download | serd-bafa091fada7b3fdc663567abc0a7455bc3a77c9.tar.gz serd-bafa091fada7b3fdc663567abc0a7455bc3a77c9.tar.bz2 serd-bafa091fada7b3fdc663567abc0a7455bc3a77c9.zip |
Add const, pure, and malloc function attributes
Diffstat (limited to 'src/serdi.c')
-rw-r--r-- | src/serdi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serdi.c b/src/serdi.c index 5b3d4bbb..033a8c75 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -66,7 +66,7 @@ get_syntax(const char* name) return (SerdSyntax)0; } -static SerdSyntax +static SERD_PURE_FUNC SerdSyntax guess_syntax(const char* filename) { const char* ext = strrchr(filename, '.'); |