From f885fde0a7177f954893be22efdf8c55c7c40fdb Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Sun, 15 Dec 2013 11:48:39 +0100 Subject: ddb: qualify pointers whose dereferenced values are constant with const --- ddb/db_input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ddb/db_input.c') diff --git a/ddb/db_input.c b/ddb/db_input.c index 5be3a8ad..f908705d 100644 --- a/ddb/db_input.c +++ b/ddb/db_input.c @@ -69,8 +69,8 @@ char * db_history_prev = (char *) 0; /* start of previous line */ void db_putstring(s, count) - char *s; - int count; + const char *s; + int count; { while (--count >= 0) cnputc(*s++); -- cgit v1.2.3