wrlib: Added 'const' attribute to local function in 'context'

This commit is contained in:
Christophe CURIS
2013-05-09 16:56:28 +01:00
committed by Carlos R. Mafra
parent fb3d9e65a6
commit 591dc5cd4d
+1 -1
View File
@@ -463,7 +463,7 @@ static Bool setupPseudoColorColormap(RContext * context)
return allocatePseudoColor(context); return allocatePseudoColor(context);
} }
static char *mygetenv(char *var, int scr) static char *mygetenv(const char *var, int scr)
{ {
char *p; char *p;
char varname[64]; char varname[64];