From: Arran Cudbard-Bell Date: Thu, 15 Apr 2021 17:27:56 +0000 (-0500) Subject: Move hash function signature into hash.h X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4d140cffa55e649bd2e6cb8ce1f41e5e57fdb114;p=thirdparty%2Ffreeradius-server.git Move hash function signature into hash.h --- diff --git a/src/lib/util/hash.h b/src/lib/util/hash.h index 6a0ef286309..90828b4d4a2 100644 --- a/src/lib/util/hash.h +++ b/src/lib/util/hash.h @@ -33,6 +33,7 @@ extern "C" { #include typedef struct fr_hash_entry_s fr_hash_entry_t; +typedef uint32_t (*fr_hash_t)(void const *); /** Stores the state of the current iteration operation * diff --git a/src/lib/util/misc.h b/src/lib/util/misc.h index 47e8c4913db..91fb57f0cd1 100644 --- a/src/lib/util/misc.h +++ b/src/lib/util/misc.h @@ -37,7 +37,6 @@ extern "C" { typedef int8_t (*fr_cmp_t)(void const *a, void const *b); typedef void (*fr_free_t)(void *); -typedef uint32_t (*fr_hash_t)(void const *); /* * Define TALLOC_DEBUG to check overflows with talloc.