]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
fix prototype
authorAlan T. DeKok <aland@freeradius.org>
Fri, 16 Apr 2021 20:08:31 +0000 (16:08 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 16 Apr 2021 20:08:31 +0000 (16:08 -0400)
src/lib/util/htrie.h

index 34c4a89083097a7691d7884903aaf69ac0f977bf..0c2b9ae21b96f1b9cfb1bb9f80acefd82eae81f8 100644 (file)
@@ -107,7 +107,7 @@ static inline CC_HINT(nonnull) int fr_htrie_replace(fr_htrie_t *ht, void const *
 /** Remove data from a htrie without freeing it
  *
  */
-static inline CC_HINT(nonnull) int fr_htrie_remove(fr_htrie_t *ht, void const *data)
+static inline CC_HINT(nonnull) void *fr_htrie_remove(fr_htrie_t *ht, void const *data)
 {
        return ht->funcs.remove(ht->store, data);
 }