diff options
author | bde <bde@FreeBSD.org> | 1995-11-24 14:13:42 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-11-24 14:13:42 +0000 |
commit | ed3ff9247ca7a0b2d76d22401a54a3e82ce0f2e9 (patch) | |
tree | f5a995a3d9175676e570f12a2bcb1bad0e1b976b /sys/ddb/db_break.c | |
parent | c14aa7ae4820b9e50a391cdb2e5ed91d81933ccd (diff) | |
download | FreeBSD-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_break.c')
-rw-r--r-- | sys/ddb/db_break.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/sys/ddb/db_break.c b/sys/ddb/db_break.c index 05a4cc1..77aea2f 100644 --- a/sys/ddb/db_break.c +++ b/sys/ddb/db_break.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_break.c,v 1.5 1994/08/18 22:34:19 wollman Exp $ + * $Id: db_break.c,v 1.6 1995/05/30 07:56:50 rgrimes Exp $ */ /* @@ -42,7 +42,6 @@ #include <ddb/db_break.h> #include <ddb/db_access.h> #include <ddb/db_sym.h> -#include <ddb/db_break.h> #define NBREAKPOINTS 100 struct db_breakpoint db_break_table[NBREAKPOINTS]; @@ -264,7 +263,7 @@ db_list_breakpoints() void db_delete_cmd(addr, have_addr, count, modif) db_expr_t addr; - int have_addr; + boolean_t have_addr; db_expr_t count; char * modif; { @@ -276,7 +275,7 @@ db_delete_cmd(addr, have_addr, count, modif) void db_breakpoint_cmd(addr, have_addr, count, modif) db_expr_t addr; - int have_addr; + boolean_t have_addr; db_expr_t count; char * modif; { @@ -288,7 +287,11 @@ db_breakpoint_cmd(addr, have_addr, count, modif) /* list breakpoints */ void -db_listbreak_cmd(db_expr_t dummy1, int dummy2, db_expr_t dummy3, char *dummy4) +db_listbreak_cmd(dummy1, dummy2, dummy3, dummy4) + db_expr_t dummy1; + boolean_t dummy2; + db_expr_t dummy3; + char * dummy4; { db_list_breakpoints(); } |