diff options
Diffstat (limited to 'src/lib/libcrypto/lhash/lhash.h')
-rw-r--r-- | src/lib/libcrypto/lhash/lhash.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/libcrypto/lhash/lhash.h b/src/lib/libcrypto/lhash/lhash.h index 6e5a1fe708..6f6eeb2698 100644 --- a/src/lib/libcrypto/lhash/lhash.h +++ b/src/lib/libcrypto/lhash/lhash.h | |||
@@ -73,7 +73,7 @@ extern "C" { | |||
73 | 73 | ||
74 | typedef struct lhash_node_st | 74 | typedef struct lhash_node_st |
75 | { | 75 | { |
76 | char *data; | 76 | void *data; |
77 | struct lhash_node_st *next; | 77 | struct lhash_node_st *next; |
78 | #ifndef NO_HASH_COMP | 78 | #ifndef NO_HASH_COMP |
79 | unsigned long hash; | 79 | unsigned long hash; |
@@ -116,13 +116,13 @@ typedef struct lhash_st | |||
116 | * in lh_insert(). */ | 116 | * in lh_insert(). */ |
117 | #define lh_error(lh) ((lh)->error) | 117 | #define lh_error(lh) ((lh)->error) |
118 | 118 | ||
119 | LHASH *lh_new(unsigned long (*h)(), int (*c)()); | 119 | LHASH *lh_new(unsigned long (*h)(/* void *a */), int (*c)(/* void *a,void *b */)); |
120 | void lh_free(LHASH *lh); | 120 | void lh_free(LHASH *lh); |
121 | char *lh_insert(LHASH *lh, char *data); | 121 | void *lh_insert(LHASH *lh, void *data); |
122 | char *lh_delete(LHASH *lh, char *data); | 122 | void *lh_delete(LHASH *lh, void *data); |
123 | char *lh_retrieve(LHASH *lh, char *data); | 123 | void *lh_retrieve(LHASH *lh, void *data); |
124 | void lh_doall(LHASH *lh, void (*func)(/* char *b */)); | 124 | void lh_doall(LHASH *lh, void (*func)(/*void *b*/)); |
125 | void lh_doall_arg(LHASH *lh, void (*func)(/*char *a,char *b*/),char *arg); | 125 | void lh_doall_arg(LHASH *lh, void (*func)(/*void *a,void *b*/),void *arg); |
126 | unsigned long lh_strhash(const char *c); | 126 | unsigned long lh_strhash(const char *c); |
127 | 127 | ||
128 | #ifndef NO_FP_API | 128 | #ifndef NO_FP_API |