Commit f5add515 authored by David Lawrence's avatar David Lawrence
Browse files

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.
parent 2a8fc4e9
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment