Constify to kill some warnings.
This commit is contained in:
parent
40044052d8
commit
62df99fb84
@ -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…
x
Reference in New Issue
Block a user