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.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ddb/db_sym.c') diff --git a/ddb/db_sym.c b/ddb/db_sym.c index 585e0ea7..d205ff74 100644 --- a/ddb/db_sym.c +++ b/ddb/db_sym.c @@ -192,7 +192,7 @@ db_lookup(char *symstr) */ 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