aboutsummaryrefslogtreecommitdiff
path: root/ddb/db_print.c
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2023-01-04 00:30:28 -0500
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-01-05 01:01:45 +0100
commitc8cd13d8e9853752de5756ab42a98e2d0baff0a9 (patch)
tree3da4d2d12fdb903b1a85e93cf9514e5d93f7ae67 /ddb/db_print.c
parentd7348c94453d2662affecbb7605047044898ed19 (diff)
downloadgnumach-c8cd13d8e9853752de5756ab42a98e2d0baff0a9.tar.gz
gnumach-c8cd13d8e9853752de5756ab42a98e2d0baff0a9.tar.bz2
gnumach-c8cd13d8e9853752de5756ab42a98e2d0baff0a9.zip
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: <Y7UO9HTfpZ8U0Nfy@mars>
Diffstat (limited to 'ddb/db_print.c')
-rw-r--r--ddb/db_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ddb/db_print.c b/ddb/db_print.c
index 0781b836..6d4c59d3 100644
--- a/ddb/db_print.c
+++ b/ddb/db_print.c
@@ -467,7 +467,7 @@ db_show_one_task(
}
static int
-db_port_iterate(const thread_t thread, void (*func)())
+db_port_iterate(const thread_t thread, void (*func)(int, const ipc_port_t, unsigned, int))
{
ipc_entry_t entry;
int n = 0;