mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Constify to kill some warnings.
This commit is contained in:
parent
963b82c64c
commit
bda9921d3f
2 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue