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_sym.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ddb/db_sym.h') diff --git a/ddb/db_sym.h b/ddb/db_sym.h index da4a0626..8b586996 100644 --- a/ddb/db_sym.h +++ b/ddb/db_sym.h @@ -263,7 +263,7 @@ db_search_in_task_symbol( extern db_sym_t db_sym_parse_and_lookup( - db_sym_t (*func) (db_symtab_t *, char*, char*, int), + db_sym_t (*func) (db_symtab_t *, const char*, const char*, int), db_symtab_t *symtab, char *symstr); -- cgit v1.2.3