From 549984f6b3b5ec146edcb03d86e637eff9956bd2 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Thu, 19 Dec 2013 20:43:54 +0100 Subject: Declare void argument lists (part 2) Declare void argument lists that were not declared in the first part of this patch and * kern/sched_prim.h (recompute_priorities): Fix prototype. * kern/startup.c (setup_main) (recompute_priorities): Fix call. --- ddb/db_break.h | 4 ++-- ddb/db_watch.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'ddb') diff --git a/ddb/db_break.h b/ddb/db_break.h index ad86119..2dfa804 100644 --- a/ddb/db_break.h +++ b/ddb/db_break.h @@ -88,9 +88,9 @@ extern db_breakpoint_t db_set_breakpoint(const task_t task, db_addr_t addr, int count, const thread_t thread, boolean_t task_bpt); -void db_listbreak_cmd(); +void db_listbreak_cmd(void); -void db_delete_cmd(); +void db_delete_cmd(void); void db_breakpoint_cmd( db_expr_t addr, diff --git a/ddb/db_watch.c b/ddb/db_watch.c index c8a4286..5551e66 100644 --- a/ddb/db_watch.c +++ b/ddb/db_watch.c @@ -65,7 +65,7 @@ db_watchpoint_t db_watchpoint_list = 0; extern vm_map_t kernel_map; db_watchpoint_t -db_watchpoint_alloc() +db_watchpoint_alloc(void) { db_watchpoint_t watch; -- cgit v1.2.3