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_expr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ddb/db_expr.c') diff --git a/ddb/db_expr.c b/ddb/db_expr.c index 82ada58..dad09e5 100644 --- a/ddb/db_expr.c +++ b/ddb/db_expr.c @@ -95,12 +95,12 @@ db_term(valuep) int db_size_option(modif, u_option, t_option) - char *modif; + const char *modif; boolean_t *u_option; boolean_t *t_option; { - char *p; - int size = sizeof(int); + const char *p; + int size = sizeof(int); *u_option = FALSE; *t_option = FALSE; -- cgit v1.2.3