21 |
|
|
22 |
#include <stdio.h> |
#include <stdio.h> |
23 |
|
|
24 |
|
#if defined (__GNUC__) || (defined (__STDC__) && __STDC__) |
25 |
|
#define __P(args) args |
26 |
|
#else |
27 |
|
#define __P(args) () |
28 |
|
#endif /* GCC. */ |
29 |
|
|
30 |
typedef unsigned long (*hash_func_t) __P((void const *key)); |
typedef unsigned long (*hash_func_t) __P((void const *key)); |
31 |
typedef int (*hash_cmp_func_t) __P((void const *x, void const *y)); |
typedef int (*hash_cmp_func_t) __P((void const *x, void const *y)); |
32 |
typedef void (*hash_map_func_t) __P((void const *item)); |
typedef void (*hash_map_func_t) __P((void const *item)); |