aboutsummaryrefslogtreecommitdiff
path: root/sys/ddb/db_ps.c
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2015-05-21 15:16:18 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2015-05-21 15:16:18 +0000
commitcd508278c11d046bf7ce79ca39f6aabeb8c77f36 (patch)
tree75c54c4b08525bdc04b20414b8f285acb9730b5c /sys/ddb/db_ps.c
parent9c36af585e33d54a965f97f37d4e5d2abaff4e1e (diff)
downloadsrc-cd508278c11d046bf7ce79ca39f6aabeb8c77f36.tar.gz
src-cd508278c11d046bf7ce79ca39f6aabeb8c77f36.zip
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
Notes
Notes: svn path=/head/; revision=283248
Diffstat (limited to 'sys/ddb/db_ps.c')
-rw-r--r--sys/ddb/db_ps.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/ddb/db_ps.c b/sys/ddb/db_ps.c
index 9d5d436ef478..3fc7afe5e225 100644
--- a/sys/ddb/db_ps.c
+++ b/sys/ddb/db_ps.c
@@ -75,7 +75,7 @@ DB_SHOW_ALL_COMMAND(procs, db_procs_cmd)
* characters.
*/
void
-db_ps(db_expr_t addr, boolean_t hasaddr, db_expr_t count, char *modif)
+db_ps(db_expr_t addr, bool hasaddr, db_expr_t count, char *modif)
{
volatile struct proc *p, *pp;
volatile struct thread *td;
@@ -299,7 +299,7 @@ DB_SHOW_COMMAND(thread, db_show_thread)
{
struct thread *td;
struct lock_object *lock;
- boolean_t comma;
+ bool comma;
/* Determine which thread to examine. */
if (have_addr)
@@ -432,8 +432,8 @@ DB_SHOW_COMMAND(proc, db_show_proc)
}
void
-db_findstack_cmd(db_expr_t addr, boolean_t have_addr,
- db_expr_t dummy3 __unused, char *dummy4 __unused)
+db_findstack_cmd(db_expr_t addr, bool have_addr, db_expr_t dummy3 __unused,
+ char *dummy4 __unused)
{
struct proc *p;
struct thread *td;