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