From b3c0633ba1421d6753b6b2c9dbcd46e51e6e55b3 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/env.c') diff --git a/src/env.c b/src/env.c index e749f050..1e320479 100644 --- a/src/env.c +++ b/src/env.c @@ -317,16 +317,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_send_prefixes(const SerdEnv* env, SerdSink* sink) { -- cgit v1.2.1