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@xxxxxxxxxxxxxxxxxxxxxx> --- tools/rpcgen/rpc_parse.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1