diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-12-15 11:48:39 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-15 21:42:30 +0100 |
commit | f885fde0a7177f954893be22efdf8c55c7c40fdb (patch) | |
tree | 1052965ca2da8f0e22142205d8fe1bb4de0fd531 /ddb/db_lex.c | |
parent | 442227ee5519f307e9f74030a9eeb7aa7983a4bc (diff) | |
download | gnumach-f885fde0a7177f954893be22efdf8c55c7c40fdb.tar.gz gnumach-f885fde0a7177f954893be22efdf8c55c7c40fdb.tar.bz2 gnumach-f885fde0a7177f954893be22efdf8c55c7c40fdb.zip |
ddb: qualify pointers whose dereferenced values are constant with const
Diffstat (limited to 'ddb/db_lex.c')
-rw-r--r-- | ddb/db_lex.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |