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

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

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

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

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