]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Move hash function signature into hash.h
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 15 Apr 2021 17:27:56 +0000 (12:27 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 15 Apr 2021 17:27:56 +0000 (12:27 -0500)
src/lib/util/hash.h
src/lib/util/misc.h

index 6a0ef2863093c3e5eefbd01d35831156275b59ba..90828b4d4a254836982f043f31c0f5f1a3f08823 100644 (file)
@@ -33,6 +33,7 @@ extern "C" {
 #include <stdint.h>
 
 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
  *
index 47e8c4913db090721c018ba2afa9f397e1fca02b..91fb57f0cd1a0b0524ca49ad7ea5f5c16674a5e9 100644 (file)
@@ -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.