From 2653a634af8cf645b664709cac82ef87f45dffde Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 10 Jan 2004 12:43:54 +0000 Subject: [PATCH] Use HASH_USE_POOL for configuration space allocations. --- lib/urlkey.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/urlkey.c b/lib/urlkey.c index 82e83401..145ef484 100644 --- a/lib/urlkey.c +++ b/lib/urlkey.c @@ -45,7 +45,7 @@ struct pxtab_node { #define HASH_GIVE_EQ #define HASH_GIVE_EXTRA_SIZE #define HASH_GIVE_INIT_KEY -#define HASH_GIVE_ALLOC +#define HASH_USE_POOL cfpool static inline uns pxtab_hash(HASH_KEY_DECL) @@ -74,12 +74,6 @@ pxtab_init_key(struct pxtab_node *node, HASH_KEY_DECL) node->rhs = NULL; } -static inline void * -pxtab_alloc(uns size) -{ - return cfg_malloc(size); -} - #include "lib/hashtable.h" static inline byte * -- 2.39.2