From c8cd13d8e9853752de5756ab42a98e2d0baff0a9 Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Wed, 4 Jan 2023 00:30:28 -0500 Subject: Fix ddb warnings introduced with -Wstrict-prototypes Changed some ddb command functions to have the expected signature but not all of them due to the being difficult to inter-dependency between header files (for those just used cast). Message-Id: --- ddb/db_macro.h | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) (limited to 'ddb/db_macro.h') diff --git a/ddb/db_macro.h b/ddb/db_macro.h index 2c0a599b..91882470 100644 --- a/ddb/db_macro.h +++ b/ddb/db_macro.h @@ -24,11 +24,23 @@ #include #include -extern void db_def_macro_cmd (void); - -extern void db_del_macro_cmd (void); - -extern void db_show_macro (void); +extern void db_def_macro_cmd ( + db_expr_t addr, + boolean_t have_addr, + db_expr_t count, + const char * modif); + +extern void db_del_macro_cmd ( + db_expr_t addr, + boolean_t have_addr, + db_expr_t count, + const char * modif); + +extern void db_show_macro ( + db_expr_t addr, + boolean_t have_addr, + db_expr_t count, + const char * modif); extern int db_exec_macro (const char *name); -- cgit v1.2.3