From 848b3d0fd7a9627c2a6de9392d3db56eae94adbd Mon Sep 17 00:00:00 2001 From: Stefan Farfeleder Date: Fri, 2 Sep 2005 21:51:18 +0000 Subject: [PATCH] In version 1.8 I botched findval()'s type, fix. --- usr.bin/rpcgen/rpc_util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/rpcgen/rpc_util.h b/usr.bin/rpcgen/rpc_util.h index 85a898a9bc6..11a040c6bf3 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)