diff options
author | pfg <pfg@FreeBSD.org> | 2015-05-21 15:16:18 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2015-05-21 15:16:18 +0000 |
commit | b0d837707d8b28197e3d0e7fbc48095e09e2e77a (patch) | |
tree | 75c54c4b08525bdc04b20414b8f285acb9730b5c /sys/ddb/db_script.c | |
parent | 0deeef9a48b9b09f99ff466c7d08bf4a5faaf09c (diff) | |
download | FreeBSD-src-b0d837707d8b28197e3d0e7fbc48095e09e2e77a.zip FreeBSD-src-b0d837707d8b28197e3d0e7fbc48095e09e2e77a.tar.gz |
ddb: finish converting boolean values.
The replacement started at r283088 was necessarily incomplete without
replacing boolean_t with bool. This also involved cleaning some type
mismatches and ansifying old C function declarations.
Pointed out by: bde
Discussed with: bde, ian, jhb
Diffstat (limited to 'sys/ddb/db_script.c')
-rw-r--r-- | sys/ddb/db_script.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/ddb/db_script.c b/sys/ddb/db_script.c index 34215f8..f84dfb9 100644 --- a/sys/ddb/db_script.c +++ b/sys/ddb/db_script.c @@ -339,7 +339,7 @@ db_script_kdbenter(const char *eventname) * List scripts and their contents. */ void -db_scripts_cmd(db_expr_t addr, boolean_t have_addr, db_expr_t count, +db_scripts_cmd(db_expr_t addr, bool have_addr, db_expr_t count, char *modif) { int i; @@ -357,7 +357,7 @@ db_scripts_cmd(db_expr_t addr, boolean_t have_addr, db_expr_t count, * Execute a script. */ void -db_run_cmd(db_expr_t addr, boolean_t have_addr, db_expr_t count, char *modif) +db_run_cmd(db_expr_t addr, bool have_addr, db_expr_t count, char *modif) { int t; @@ -381,7 +381,7 @@ db_run_cmd(db_expr_t addr, boolean_t have_addr, db_expr_t count, char *modif) * we do not wish to use db_lex's token processing. */ void -db_script_cmd(db_expr_t addr, boolean_t have_addr, db_expr_t count, +db_script_cmd(db_expr_t addr, bool have_addr, db_expr_t count, char *modif) { char *buf, scriptname[DB_MAXSCRIPTNAME]; @@ -427,7 +427,7 @@ db_script_cmd(db_expr_t addr, boolean_t have_addr, db_expr_t count, * Remove a named script. */ void -db_unscript_cmd(db_expr_t addr, boolean_t have_addr, db_expr_t count, +db_unscript_cmd(db_expr_t addr, bool have_addr, db_expr_t count, char *modif) { int error, t; |