diff --git a/lib/dns/sec/openssl/lhash.c b/lib/dns/sec/openssl/lhash.c index 7439a68d59..ecdf7bdd97 100644 --- a/lib/dns/sec/openssl/lhash.c +++ b/lib/dns/sec/openssl/lhash.c @@ -276,7 +276,7 @@ void lh_doall(LHASH *lh, void (*func)()) lh_doall_arg(lh,func,NULL); } -void lh_doall_arg(LHASH *lh, void (*func)(void *, void *), void *arg) +void lh_doall_arg(LHASH *lh, void (*func)(), void *arg) { int i; LHASH_NODE *a,*n; diff --git a/lib/dns/sec/openssl/stack.c b/lib/dns/sec/openssl/stack.c index b4a212eb30..5afc0f1b63 100644 --- a/lib/dns/sec/openssl/stack.c +++ b/lib/dns/sec/openssl/stack.c @@ -80,7 +80,7 @@ const char *STACK_version="Stack" OPENSSL_VERSION_PTEXT; #define FP_ICC (int (*)(const void *,const void *)) #include -int (*sk_set_cmp_func(STACK *sk, int (*c)()))(void) +int (*sk_set_cmp_func(STACK *sk, int (*c)()))() { int (*old)()=sk->comp; @@ -265,7 +265,7 @@ void sk_zero(STACK *st) st->num=0; } -void sk_pop_free(STACK *st, void (*func)(char *)) +void sk_pop_free(STACK *st, void (*func)()) { int i;