From 591dc5cd4dadae3e6b58914846e9cad65797ab1e Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Thu, 9 May 2013 17:34:09 +0200 Subject: [PATCH] wrlib: Added 'const' attribute to local function in 'context' --- wrlib/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrlib/context.c b/wrlib/context.c index fa4bf409..bc021834 100644 --- a/wrlib/context.c +++ b/wrlib/context.c @@ -463,7 +463,7 @@ static Bool setupPseudoColorColormap(RContext * context) return allocatePseudoColor(context); } -static char *mygetenv(char *var, int scr) +static char *mygetenv(const char *var, int scr) { char *p; char varname[64];