summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2002-09-21 17:29:36 +0000
committerMark Murray <markm@FreeBSD.org>2002-09-21 17:29:36 +0000
commitbda9921d3f903d403bac3d7b37fa468b1158bb27 (patch)
tree7db830a7000a942d292efa49a5c613b348f7410f
parent963b82c64cda6a9c6e65994eda54fa4ac0833de4 (diff)
Notes
-rw-r--r--sys/ddb/db_command.c2
-rw-r--r--sys/ddb/ddb.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c
index 6771abe1c210..cf3c6b77ea95 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 1eb87ba0ce27..b706cc58c5b9 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);