diff mbox series

[nfs-utils,4/7] rpcgen: rpc_parse: add get_definition() void argument

Message ID 20200103215039.27471-5-giulio.benetti@benettiengineering.com (mailing list archive)
State Accepted
Headers show
Series silence some warning in rpcgen | expand

Commit Message

Giulio Benetti Jan. 3, 2020, 9:50 p.m. UTC
get_definition() prototype has no arguments and this can cause warnings
during building. Let's add void argument to prototype according to its
implementation.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
 tools/rpcgen/rpc_parse.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tools/rpcgen/rpc_parse.h b/tools/rpcgen/rpc_parse.h
index 2afae104..6c134dd8 100644
--- a/tools/rpcgen/rpc_parse.h
+++ b/tools/rpcgen/rpc_parse.h
@@ -153,7 +153,7 @@  struct definition {
 };
 typedef struct definition definition;
 
-definition *get_definition();
+definition *get_definition(void);
 
 
 struct bas_type