diff options
author | Guy-Fleury Iteriteka <gfleury@disroot.org> | 2023-01-01 15:03:01 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-01-01 14:09:49 +0100 |
commit | 276f997fd7a51385829fec6d460d0a588b0bad7c (patch) | |
tree | f843ab4cfb838d36879b5c492a0bc98208235d02 /ddb | |
parent | 4fa8fee3012a7ecda4d7e45de62e1f3cba5ea38f (diff) | |
download | gnumach-276f997fd7a51385829fec6d460d0a588b0bad7c.tar.gz gnumach-276f997fd7a51385829fec6d460d0a588b0bad7c.tar.bz2 gnumach-276f997fd7a51385829fec6d460d0a588b0bad7c.zip |
fix warning from -Wstrict-prototypes
Message-Id: <Y7GEhcafJ+4Wn3ao@falom>
Diffstat (limited to 'ddb')
-rw-r--r-- | ddb/db_sym.c | 2 | ||||
-rw-r--r-- | ddb/db_sym.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ddb/db_sym.c b/ddb/db_sym.c index e78173c1..585e0ea7 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_sym_t (*func) (db_symtab_t *, char*, char*, int), db_symtab_t *symtab, char *symstr) { diff --git a/ddb/db_sym.h b/ddb/db_sym.h index d8f33874..da4a0626 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_sym_t (*func) (db_symtab_t *, char*, char*, int), db_symtab_t *symtab, char *symstr); |