summaryrefslogtreecommitdiff
path: root/ddb
diff options
context:
space:
mode:
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;