Quiet HP/UX warnings:
cc: "stack.c", line 231: warning 714: Function called with no prototype or definition in scope. cc: "stack.c", line 275: warning 714: Function "func" called with no prototype or definition in scope.
This commit is contained in:
@@ -70,7 +70,7 @@ typedef struct stack_st
|
||||
int sorted;
|
||||
|
||||
int num_alloc;
|
||||
int (*comp)();
|
||||
int (*comp)(char **, char **);
|
||||
} STACK;
|
||||
|
||||
|
||||
|
||||
@@ -265,7 +265,7 @@ void sk_zero(STACK *st)
|
||||
st->num=0;
|
||||
}
|
||||
|
||||
void sk_pop_free(STACK *st, void (*func)())
|
||||
void sk_pop_free(STACK *st, void (*func)(char *))
|
||||
{
|
||||
int i;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user