]> mj.ucw.cz Git - libucw.git/commitdiff
typo fixed
authorRobert Spalek <robert@ucw.cz>
Mon, 19 Jan 2004 10:32:37 +0000 (10:32 +0000)
committerRobert Spalek <robert@ucw.cz>
Mon, 19 Jan 2004 10:32:37 +0000 (10:32 +0000)
lib/hashtable.h

index b18b01fce6acdfa1797db836db9590c500b12622..10aee8bb2cfd22ac1281b0e5fc5344636b825f13 100644 (file)
@@ -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