From 36dc0c62b0dbeab7208111d6700c7aaaf51faf1d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 30 Dec 2018 12:35:47 -0500 Subject: Remove serd_env_foreach() --- src/env.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src') diff --git a/src/env.c b/src/env.c index dac6fdae..e1d173bc 100644 --- a/src/env.c +++ b/src/env.c @@ -316,16 +316,6 @@ serd_env_expand(const SerdEnv* env, const SerdNode* node) return NULL; } -void -serd_env_foreach(const SerdEnv* env, - SerdPrefixSink func, - void* handle) -{ - for (size_t i = 0; i < env->n_prefixes; ++i) { - func(handle, env->prefixes[i].name, env->prefixes[i].uri); - } -} - void serd_env_write_prefixes(const SerdEnv* env, const SerdSink* sink) { -- cgit v1.2.1