summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/rpcgen/rpc_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/rpcgen/rpc_util.h b/usr.bin/rpcgen/rpc_util.h
index 85a898a9bc63..11a040c6bf3f 100644
--- a/usr.bin/rpcgen/rpc_util.h
+++ b/usr.bin/rpcgen/rpc_util.h
@@ -161,7 +161,7 @@ char *xstrdup(const char *str);
#define STOREVAL(list,item) \
storeval(list,item)
-definition *findval(list *lst, char *val, int (*cmp)(char *, char *));
+definition *findval(list *lst, char *val, int (*cmp)(definition *, char *));
#define FINDVAL(list,item,finder) \
findval(list, item, finder)