From: Robert Spalek Date: Mon, 19 Jan 2004 10:32:37 +0000 (+0000) Subject: typo fixed X-Git-Tag: holmes-import~1131 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=b9dcabfafb779bc9c7a6104869c110c78f312c2d;p=libucw.git typo fixed --- diff --git a/lib/hashtable.h b/lib/hashtable.h index b18b01fc..10aee8bb 100644 --- a/lib/hashtable.h +++ b/lib/hashtable.h @@ -263,15 +263,15 @@ static inline void P(init_data) (P(node) *n UNUSED) #ifdef HASH_GIVE_ALLOC /* If the caller has requested to use his own allocation functions, do so */ -static inline void * P(init_alloc) (void) { } -static inline void * P(cleanup_alloc) (void) { } +static inline void P(init_alloc) (void) { } +static inline void P(cleanup_alloc) (void) { } #elif defined(HASH_USE_POOL) /* If the caller has requested to use his mempool, do so */ #include "lib/pools.h" static inline void * P(alloc) (unsigned int size) { return mp_alloc_fast(HASH_USE_POOL, size); } -static inline void * P(init_alloc) (void) { } -static inline void * P(cleanup_alloc) (void) { } +static inline void P(init_alloc) (void) { } +static inline void P(cleanup_alloc) (void) { } #elif defined(HASH_AUTO_POOL) /* Use our own pools */ @@ -285,8 +285,8 @@ static inline void P(cleanup_alloc) (void) { mp_delete(P(pool)); } /* The default allocation method */ static inline void * P(alloc) (unsigned int size) { return xmalloc(size); } static inline void P(free) (void *x) { xfree(x); } -static inline void * P(init_alloc) (void) { } -static inline void * P(cleanup_alloc) (void) { } +static inline void P(init_alloc) (void) { } +static inline void P(cleanup_alloc) (void) { } #endif