summaryrefslogtreecommitdiff
path: root/ddb
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-19 20:43:54 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-20 00:26:27 +0100
commit549984f6b3b5ec146edcb03d86e637eff9956bd2 (patch)
tree5c082377d5f22bafbaae71408062ba2aaef18c5d /ddb
parentf533e173fccb40aac5c3e7f4f2277f3cdec5d029 (diff)
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.
Diffstat (limited to 'ddb')
-rw-r--r--ddb/db_break.h4
-rw-r--r--ddb/db_watch.c2
2 files changed, 3 insertions, 3 deletions
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;