diff options
author | markm <markm@FreeBSD.org> | 2002-09-21 17:29:36 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2002-09-21 17:29:36 +0000 |
commit | 62df99fb84d18caea18a8bad7a36cd2309af39ec (patch) | |
tree | 7db830a7000a942d292efa49a5c613b348f7410f /sys/ddb | |
parent | 40044052d8ec7b4c490491d39902efbf7a0b68a1 (diff) | |
download | FreeBSD-src-62df99fb84d18caea18a8bad7a36cd2309af39ec.zip FreeBSD-src-62df99fb84d18caea18a8bad7a36cd2309af39ec.tar.gz |
Constify to kill some warnings.
Diffstat (limited to 'sys/ddb')
-rw-r--r-- | sys/ddb/db_command.c | 2 | ||||
-rw-r--r-- | sys/ddb/ddb.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c index 6771abe..cf3c6b7 100644 --- a/sys/ddb/db_command.c +++ b/sys/ddb/db_command.c @@ -475,7 +475,7 @@ db_command_loop() void db_error(s) - char *s; + const char *s; { if (s) db_printf("%s", s); diff --git a/sys/ddb/ddb.h b/sys/ddb/ddb.h index 1eb87ba..b706cc5 100644 --- a/sys/ddb/ddb.h +++ b/sys/ddb/ddb.h @@ -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); |