diff options
author | Bruce Evans <bde@FreeBSD.org> | 1995-11-24 14:13:42 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1995-11-24 14:13:42 +0000 |
commit | 058284fceb843b1fc95ffb704de3f9bd088607a9 (patch) | |
tree | f5a995a3d9175676e570f12a2bcb1bad0e1b976b /sys/ddb/db_examine.c | |
parent | 4753168fae3062574cec15130f5140ddfb53b59f (diff) | |
download | src-058284fceb843b1fc95ffb704de3f9bd088607a9.tar.gz src-058284fceb843b1fc95ffb704de3f9bd088607a9.zip |
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.
Notes
Notes:
svn path=/head/; revision=12473
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 8f321b936c85..f3ab7e3b79ae 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; |