aboutsummaryrefslogtreecommitdiffstats
path: root/src/env.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-12-19 20:26:13 -0500
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:07 -0500
commit3d79b6ee36b250644e6cf70eee8e3076d94cbb7f (patch)
tree0f734bfcfd278d6eef5ca0e82c008b7f2a6f7bba /src/env.c
parent7fb4c5264b91d5a5ce9f13a9fb4308088b31fcd4 (diff)
downloadserd-3d79b6ee36b250644e6cf70eee8e3076d94cbb7f.tar.gz
serd-3d79b6ee36b250644e6cf70eee8e3076d94cbb7f.tar.bz2
serd-3d79b6ee36b250644e6cf70eee8e3076d94cbb7f.zip
Use Zix attributes directly
Diffstat (limited to 'src/env.c')
-rw-r--r--src/env.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/env.c b/src/env.c
index b0f652c3..5159292d 100644
--- a/src/env.c
+++ b/src/env.c
@@ -7,6 +7,7 @@
#include "node.h"
#include "serd/node.h"
+#include "zix/attributes.h"
#include <assert.h>
#include <stdbool.h>
@@ -138,7 +139,7 @@ serd_env_set_base_uri(SerdEnv* const env, const SerdStringView uri)
return SERD_SUCCESS;
}
-SERD_PURE_FUNC static SerdPrefix*
+ZIX_PURE_FUNC static SerdPrefix*
serd_env_find(const SerdEnv* const env,
const char* const name,
const size_t name_len)