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_sym.h | |
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_sym.h')
-rw-r--r-- | sys/ddb/db_sym.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/ddb/db_sym.h b/sys/ddb/db_sym.h index 1d9d462..51744c5 100644 --- a/sys/ddb/db_sym.h +++ b/sys/ddb/db_sym.h @@ -86,20 +86,20 @@ void db_symbol_values(c_db_sym_t, const char **, db_expr_t *); db_symbol_values(db_search_symbol(val,DB_STGY_XTRN,offp),namep,0) /* ditto, but no locals */ -int db_eqname(const char *, const char *, int); +bool db_eqname(const char *, const char *, int); /* strcmp, modulo leading char */ void db_printsym(db_expr_t, db_strategy_t); /* print closest symbol to a value */ -int db_sym_numargs(c_db_sym_t, int *, char **); +bool db_sym_numargs(c_db_sym_t, int *, char **); -boolean_t X_db_line_at_pc(db_symtab_t *symtab, c_db_sym_t cursym, +bool X_db_line_at_pc(db_symtab_t *symtab, c_db_sym_t cursym, char **filename, int *linenum, db_expr_t off); c_db_sym_t X_db_lookup(db_symtab_t *stab, const char *symstr); c_db_sym_t X_db_search_symbol(db_symtab_t *symtab, db_addr_t off, db_strategy_t strategy, db_expr_t *diffp); -int X_db_sym_numargs(db_symtab_t *, c_db_sym_t, int *, char **); +bool X_db_sym_numargs(db_symtab_t *, c_db_sym_t, int *, char **); void X_db_symbol_values(db_symtab_t *symtab, c_db_sym_t sym, const char **namep, db_expr_t *valuep); |