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_cond.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ddb/db_cond.h') diff --git a/ddb/db_cond.h b/ddb/db_cond.h index 6b9c3a5b..c867c6ee 100644 --- a/ddb/db_cond.h +++ b/ddb/db_cond.h @@ -30,6 +30,10 @@ extern boolean_t db_cond_check (db_thread_breakpoint_t bkpt); extern void db_cond_print (db_thread_breakpoint_t bkpt); -extern void db_cond_cmd (void); +extern void db_cond_cmd ( + db_expr_t addr, + boolean_t have_addr, + db_expr_t count, + const char * modif); #endif /* _DDB_DB_COND_H_ */ -- cgit v1.2.3