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_examine.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_examine.c')
-rw-r--r-- | sys/ddb/db_examine.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sys/ddb/db_examine.c b/sys/ddb/db_examine.c index 8f321b9..f3ab7e3 100644 --- a/sys/ddb/db_examine.c +++ b/sys/ddb/db_examine.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_examine.c,v 1.7 1995/05/22 13:07:11 davidg Exp $ + * $Id: db_examine.c,v 1.8 1995/05/30 07:56:55 rgrimes Exp $ */ /* @@ -54,7 +54,7 @@ static void db_search(db_addr_t, int, db_expr_t, db_expr_t, u_int); void db_examine_cmd(addr, have_addr, count, modif) db_expr_t addr; - int have_addr; + boolean_t have_addr; db_expr_t count; char * modif; { @@ -192,7 +192,7 @@ char db_print_format = 'x'; void db_print_cmd(addr, have_addr, count, modif) db_expr_t addr; - int have_addr; + boolean_t have_addr; db_expr_t count; char * modif; { @@ -248,7 +248,11 @@ db_print_loc_and_inst(loc) * Syntax: search [/bhl] addr value [mask] [,count] */ void -db_search_cmd(db_expr_t dummy1, int dummy2, db_expr_t dummy3, char *dummy4) +db_search_cmd(dummy1, dummy2, dummy3, dummy4) + db_expr_t dummy1; + boolean_t dummy2; + db_expr_t dummy3; + char * dummy4; { int t; db_addr_t addr; |