diff options
author | Giulio Benetti <giulio.benetti@benettiengineering.com> | 2020-01-06 14:18:00 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2020-01-07 13:55:19 -0500 |
commit | 653548974e96114a50466a115cdb456030b86c73 (patch) | |
tree | 408a7d287dbf28f9a6390c9ee41cbe397a8cdb44 | |
parent | dc416b171cb52cb09aef6ba80da8b5e469ee01da (diff) | |
download | nfs-utils-653548974e96114a50466a115cdb456030b86c73.tar.gz |
pcgen: rpc_util: add findval args to prototype
findval() prototype has no arguments and this can cause warnings during
building. Let's add its arguments to prototype according to its
implementation.
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r-- | tools/rpcgen/rpc_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/rpcgen/rpc_util.h b/tools/rpcgen/rpc_util.h index bd7b15ca..97b87f2b 100644 --- a/tools/rpcgen/rpc_util.h +++ b/tools/rpcgen/rpc_util.h @@ -96,7 +96,7 @@ void storeval(list **, definition *); #define STOREVAL(list,item) \ storeval(list,item) -definition *findval(); +definition *findval(list *, char *, int (*)(definition *, char *)); #define FINDVAL(list,item,finder) \ findval(list, item, finder) |