summaryrefslogtreecommitdiff
path: root/ddb
diff options
context:
space:
mode:
Diffstat (limited to 'ddb')
-rw-r--r--ddb/db_break.c8
-rw-r--r--ddb/db_command.c4
-rw-r--r--ddb/db_command.h2
-rw-r--r--ddb/db_cond.c2
-rw-r--r--ddb/db_examine.c4
-rw-r--r--ddb/db_input.c4
-rw-r--r--ddb/db_macro.c6
-rw-r--r--ddb/db_mp.c14
-rw-r--r--ddb/db_output.c2
-rw-r--r--ddb/db_run.c2
-rw-r--r--ddb/db_variables.c2
-rw-r--r--ddb/db_variables.h2
-rw-r--r--ddb/db_watch.c2
-rw-r--r--ddb/db_watch.h2
14 files changed, 28 insertions, 28 deletions
diff --git a/ddb/db_break.c b/ddb/db_break.c
index f94663a..0d09942 100644
--- a/ddb/db_break.c
+++ b/ddb/db_break.c
@@ -227,7 +227,7 @@ db_force_delete_breakpoint(bkpt, task_thd, is_task)
}
void
-db_check_breakpoint_valid()
+db_check_breakpoint_valid(void)
{
db_thread_breakpoint_t tbp, tbp_next;
db_breakpoint_t bkpt, *bkptp;
@@ -524,7 +524,7 @@ db_delete_temp_breakpoint(task, bkpt)
* List breakpoints.
*/
void
-db_list_breakpoints()
+db_list_breakpoints(void)
{
db_breakpoint_t bkpt;
@@ -598,7 +598,7 @@ db_list_breakpoints()
/* Delete breakpoint */
/*ARGSUSED*/
void
-db_delete_cmd()
+db_delete_cmd(void)
{
int n;
thread_t thread;
@@ -731,7 +731,7 @@ db_breakpoint_cmd(addr, have_addr, count, modif)
/* list breakpoints */
void
-db_listbreak_cmd()
+db_listbreak_cmd(void)
{
db_list_breakpoints();
}
diff --git a/ddb/db_command.c b/ddb/db_command.c
index 2bff829..85cbf81 100644
--- a/ddb/db_command.c
+++ b/ddb/db_command.c
@@ -383,7 +383,7 @@ struct db_command *ptr;
struct db_command *db_last_command = 0;
void
-db_help_cmd()
+db_help_cmd(void)
{
struct db_command *cmd = db_command_table;
@@ -471,7 +471,7 @@ void db_error(s)
* !expr(arg,arg,arg)
*/
void
-db_fncall()
+db_fncall(void)
{
db_expr_t fn_addr;
#define MAXARGS 11
diff --git a/ddb/db_command.h b/ddb/db_command.h
index 1edf1d6..30e1f21 100644
--- a/ddb/db_command.h
+++ b/ddb/db_command.h
@@ -69,7 +69,7 @@ struct db_command {
extern boolean_t db_exec_cmd_nest(char *cmd, int size);
-void db_fncall();
+void db_fncall(void);
void db_help_cmd(void);
diff --git a/ddb/db_cond.c b/ddb/db_cond.c
index 82ec0d6..ae52bef 100644
--- a/ddb/db_cond.c
+++ b/ddb/db_cond.c
@@ -123,7 +123,7 @@ db_cond_print(bkpt)
}
void
-db_cond_cmd()
+db_cond_cmd(void)
{
int c;
struct db_cond *cp;
diff --git a/ddb/db_examine.c b/ddb/db_examine.c
index 9ffcb01..6e7f89c 100644
--- a/ddb/db_examine.c
+++ b/ddb/db_examine.c
@@ -255,7 +255,7 @@ char db_print_format = 'x';
/*ARGSUSED*/
void
-db_print_cmd()
+db_print_cmd(void)
{
db_expr_t value;
int t;
@@ -344,7 +344,7 @@ db_strcpy(dst, src)
* Syntax: search [/bhl] addr value [mask] [,count] [thread]
*/
void
-db_search_cmd()
+db_search_cmd(void)
{
int t;
db_addr_t addr;
diff --git a/ddb/db_input.c b/ddb/db_input.c
index 7fee8fd..5be3a8a 100644
--- a/ddb/db_input.c
+++ b/ddb/db_input.c
@@ -111,7 +111,7 @@ db_delete(n, bwd)
}
void
-db_delete_line()
+db_delete_line(void)
{
db_delete(db_le - db_lc, DEL_FWD);
db_delete(db_lc - db_lbuf_start, DEL_BWD);
@@ -349,7 +349,7 @@ db_readline(lstart, lsize)
}
void
-db_check_interrupt()
+db_check_interrupt(void)
{
int c;
diff --git a/ddb/db_macro.c b/ddb/db_macro.c
index 9d14b12..f985679 100644
--- a/ddb/db_macro.c
+++ b/ddb/db_macro.c
@@ -73,7 +73,7 @@ db_lookup_macro(name)
}
void
-db_def_macro_cmd()
+db_def_macro_cmd(void)
{
char *p;
int c;
@@ -104,7 +104,7 @@ db_def_macro_cmd()
}
void
-db_del_macro_cmd()
+db_del_macro_cmd(void)
{
struct db_user_macro *mp;
@@ -120,7 +120,7 @@ db_del_macro_cmd()
}
void
-db_show_macro()
+db_show_macro(void)
{
struct db_user_macro *mp;
int t;
diff --git a/ddb/db_mp.c b/ddb/db_mp.c
index 3dfef09..ae82c27 100644
--- a/ddb/db_mp.c
+++ b/ddb/db_mp.c
@@ -63,7 +63,7 @@ boolean_t db_enter_debug = FALSE;
*/
boolean_t
-db_enter()
+db_enter(void)
{
int mycpu = cpu_number();
@@ -108,7 +108,7 @@ db_enter()
* Leave debugger.
*/
void
-db_leave()
+db_leave(void)
{
int mycpu = cpu_number();
@@ -143,7 +143,7 @@ db_leave()
*/
void
-remote_db() {
+remote_db(void) {
int my_cpu = cpu_number();
int i;
@@ -250,7 +250,7 @@ db_on(cpu)
* in kernel debugger and wants to stop other CPUs
*/
void
-remote_db_enter()
+remote_db_enter(void)
{
db_slave[cpu_number()]++;
kdb_kintr();
@@ -267,7 +267,7 @@ remote_db_enter()
* is active on another cpu.
*/
void
-lock_db()
+lock_db(void)
{
int my_cpu = cpu_number();
@@ -298,14 +298,14 @@ lock_db()
}
void
-unlock_db()
+unlock_db(void)
{
simple_unlock(&db_lock);
}
#if CONSOLE_ON_MASTER
void
-db_console()
+db_console(void)
{
if (i_bit(CBUS_PUT_CHAR, my_word)) {
volatile u_char c = cbus_ochar;
diff --git a/ddb/db_output.c b/ddb/db_output.c
index e0ea2f3..f7561d2 100644
--- a/ddb/db_output.c
+++ b/ddb/db_output.c
@@ -99,7 +99,7 @@ db_force_whitespace(void)
}
static void
-db_more()
+db_more(void)
{
char *p;
boolean_t quit_output = FALSE;
diff --git a/ddb/db_run.c b/ddb/db_run.c
index 330b41b..0978667 100644
--- a/ddb/db_run.c
+++ b/ddb/db_run.c
@@ -426,7 +426,7 @@ db_continue_cmd(addr, have_addr, count, modif)
}
boolean_t
-db_in_single_step()
+db_in_single_step(void)
{
return(db_run_mode != STEP_NONE && db_run_mode != STEP_CONTINUE);
}
diff --git a/ddb/db_variables.c b/ddb/db_variables.c
index e737cfe..9d77c0a 100644
--- a/ddb/db_variables.c
+++ b/ddb/db_variables.c
@@ -201,7 +201,7 @@ db_read_write_variable(vp, valuep, rw_flag, ap)
}
void
-db_set_cmd()
+db_set_cmd(void)
{
db_expr_t value;
int t;
diff --git a/ddb/db_variables.h b/ddb/db_variables.h
index 934a61f..9880d50 100644
--- a/ddb/db_variables.h
+++ b/ddb/db_variables.h
@@ -81,7 +81,7 @@ extern struct db_variable *db_eregs;
extern int db_get_variable(db_expr_t *valuep);
-void db_set_cmd();
+void db_set_cmd(void);
void db_read_write_variable(struct db_variable *, db_expr_t *, int, struct db_var_aux_param *);
diff --git a/ddb/db_watch.c b/ddb/db_watch.c
index e2bd8d6..567040c 100644
--- a/ddb/db_watch.c
+++ b/ddb/db_watch.c
@@ -255,7 +255,7 @@ db_watchpoint_cmd(addr, have_addr, count, modif)
/* list watchpoints */
void
-db_listwatch_cmd()
+db_listwatch_cmd(void)
{
db_list_watchpoints();
}
diff --git a/ddb/db_watch.h b/ddb/db_watch.h
index fb95ae5..8e0f32f 100644
--- a/ddb/db_watch.h
+++ b/ddb/db_watch.h
@@ -57,7 +57,7 @@ extern void db_set_watchpoint(task_t task, db_addr_t addr, vm_size_t size);
extern void db_delete_watchpoint(task_t task, db_addr_t addr);
extern void db_list_watchpoints(void);
-void db_listwatch_cmd();
+void db_listwatch_cmd(void);
void db_deletewatch_cmd(
db_expr_t addr,