[nfs-utils,2/7] rpcgen: rpc_util: add storeval args to prototype
diff mbox series

Message ID 20200103215039.27471-3-giulio.benetti@benettiengineering.com
State Accepted
Headers show
Series
  • silence some warning in rpcgen
Related show

Commit Message

Giulio Benetti Jan. 3, 2020, 9:50 p.m. UTC
storeval() 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>
---
 tools/rpcgen/rpc_util.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/tools/rpcgen/rpc_util.h b/tools/rpcgen/rpc_util.h
index fa115bee..bd7b15ca 100644
--- a/tools/rpcgen/rpc_util.h
+++ b/tools/rpcgen/rpc_util.h
@@ -91,7 +91,7 @@  extern int nonfatalerrors;
 /*
  * rpc_util routines 
  */
-void storeval();
+void storeval(list **, definition *);
 
 #define STOREVAL(list,item)	\
 	storeval(list,item)