summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_run.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-11-24 14:13:42 +0000
committerbde <bde@FreeBSD.org>1995-11-24 14:13:42 +0000
commited3ff9247ca7a0b2d76d22401a54a3e82ce0f2e9 (patch)
treef5a995a3d9175676e570f12a2bcb1bad0e1b976b /sys/ddb/db_run.c
parentc14aa7ae4820b9e50a391cdb2e5ed91d81933ccd (diff)
downloadFreeBSD-src-ed3ff9247ca7a0b2d76d22401a54a3e82ce0f2e9.zip
FreeBSD-src-ed3ff9247ca7a0b2d76d22401a54a3e82ce0f2e9.tar.gz
Completed function declarations and/or added prototypes and/or #includes
to get the prototypes. Changed some `int's to `boolean_t's. boolean_t's are ints so they are hard to distinguish from ints. Converted function headers to old-style. ddb is written in K&R1 C except where we broke it.
Diffstat (limited to 'sys/ddb/db_run.c')
-rw-r--r--sys/ddb/db_run.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/ddb/db_run.c b/sys/ddb/db_run.c
index e161a73..7e92501 100644
--- a/sys/ddb/db_run.c
+++ b/sys/ddb/db_run.c
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_run.c,v 1.4 1994/08/13 03:49:22 wollman Exp $
+ * $Id: db_run.c,v 1.5 1995/05/30 07:57:08 rgrimes Exp $
*/
/*
@@ -61,10 +61,10 @@ int db_load_count;
int db_store_count;
#ifndef db_set_single_step
-void db_set_single_step(/* db_regs_t *regs */); /* forward */
+extern void db_set_single_step __P((db_regs_t *regs);
#endif
#ifndef db_clear_single_step
-void db_clear_single_step(/* db_regs_t *regs */);
+extern void db_clear_single_step __P((db_regs_t *regs));
#endif
boolean_t
@@ -302,7 +302,7 @@ extern int db_cmd_loop_done;
void
db_single_step_cmd(addr, have_addr, count, modif)
db_expr_t addr;
- int have_addr;
+ boolean_t have_addr;
db_expr_t count;
char * modif;
{
@@ -329,7 +329,7 @@ db_single_step_cmd(addr, have_addr, count, modif)
void
db_trace_until_call_cmd(addr, have_addr, count, modif)
db_expr_t addr;
- int have_addr;
+ boolean_t have_addr;
db_expr_t count;
char * modif;
{
@@ -351,7 +351,7 @@ db_trace_until_call_cmd(addr, have_addr, count, modif)
void
db_trace_until_matching_cmd(addr, have_addr, count, modif)
db_expr_t addr;
- int have_addr;
+ boolean_t have_addr;
db_expr_t count;
char * modif;
{
@@ -375,7 +375,7 @@ db_trace_until_matching_cmd(addr, have_addr, count, modif)
void
db_continue_cmd(addr, have_addr, count, modif)
db_expr_t addr;
- int have_addr;
+ boolean_t have_addr;
db_expr_t count;
char * modif;
{
OpenPOWER on IntegriCloud