aboutsummaryrefslogtreecommitdiffstats
path: root/src/env.c
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/env.c
parentf820212f2ac92400cf277686e4f79e740b95688c (diff)
downloadserd-bafa091fada7b3fdc663567abc0a7455bc3a77c9.tar.gz
serd-bafa091fada7b3fdc663567abc0a7455bc3a77c9.tar.bz2
serd-bafa091fada7b3fdc663567abc0a7455bc3a77c9.zip
Add const, pure, and malloc function attributes
Diffstat (limited to 'src/env.c')
-rw-r--r--src/env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/env.c b/src/env.c
index e67b42c0..3813391c 100644
--- a/src/env.c
+++ b/src/env.c
@@ -93,7 +93,7 @@ serd_env_set_base_uri(SerdEnv* env,
return SERD_ERR_BAD_ARG;
}
-static inline SerdPrefix*
+static inline SERD_PURE_FUNC SerdPrefix*
serd_env_find(const SerdEnv* env,
const uint8_t* name,
size_t name_len)