mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 07:39:59 -04:00
Quiet HP/UX warnings:
cc: "lhash.c", line 294: warning 714: Function "func" called with no prototype or definition in scope. cc: "lhash.c", line 401: warning 714: Function called with no prototype or definition in scope. cc: "lhash.c", line 422: warning 714: Function called with no prototype or definition in scope.
This commit is contained in:
parent
acbec87f20
commit
2a8fc4e9f7
2 changed files with 4 additions and 4 deletions
|
|
@ -83,8 +83,8 @@ typedef struct lhash_node_st
|
|||
typedef struct lhash_st
|
||||
{
|
||||
LHASH_NODE **b;
|
||||
int (*comp)();
|
||||
unsigned long (*hash)();
|
||||
int (*comp)(void *, void *);
|
||||
unsigned long (*hash)(void *);
|
||||
unsigned int num_nodes;
|
||||
unsigned int num_alloc_nodes;
|
||||
unsigned int p;
|
||||
|
|
|
|||
|
|
@ -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 *arg)
|
||||
void lh_doall_arg(LHASH *lh, void (*func)(void *, void *), void *arg)
|
||||
{
|
||||
int i;
|
||||
LHASH_NODE *a,*n;
|
||||
|
|
@ -396,7 +396,7 @@ static LHASH_NODE **getrn(LHASH *lh, void *data, unsigned long *rhash)
|
|||
{
|
||||
LHASH_NODE **ret,*n1;
|
||||
unsigned long hash,nn;
|
||||
int (*cf)();
|
||||
int (*cf)(void *, void *);
|
||||
|
||||
hash=(*(lh->hash))(data);
|
||||
lh->num_hash_calls++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue