Constify to kill some warnings.
This commit is contained in:
parent
963b82c64c
commit
bda9921d3f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103746
@ -475,7 +475,7 @@ db_command_loop()
|
||||
|
||||
void
|
||||
db_error(s)
|
||||
char *s;
|
||||
const char *s;
|
||||
{
|
||||
if (s)
|
||||
db_printf("%s", s);
|
||||
|
@ -83,7 +83,7 @@ void db_check_interrupt(void);
|
||||
void db_clear_watchpoints(void);
|
||||
db_addr_t db_disasm(db_addr_t loc, boolean_t altfmt);
|
||||
/* instruction disassembler */
|
||||
void db_error(char *s);
|
||||
void db_error(const char *s);
|
||||
int db_expression(db_expr_t *valuep);
|
||||
int db_get_variable(db_expr_t *valuep);
|
||||
void db_iprintf(const char *,...) __printflike(1, 2);
|
||||
|
Loading…
Reference in New Issue
Block a user