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_lex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ddb/db_lex.c') diff --git a/ddb/db_lex.c b/ddb/db_lex.c index 203472d0..e7f67d29 100644 --- a/ddb/db_lex.c +++ b/ddb/db_lex.c @@ -50,7 +50,7 @@ db_expr_t db_look_token = 0; int db_read_line(repeat_last) - char *repeat_last; + const char *repeat_last; { int i; @@ -105,7 +105,7 @@ db_save_lex_context(lp) void db_restore_lex_context(lp) - struct db_lex_context *lp; + const struct db_lex_context *lp; { db_lp = lp->l_ptr; db_last_lp = db_lp; -- cgit v1.2.3