mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-09 07:14:18 +01:00
Added 'const' attribute to the file name parameter to load/save
This name is not modified by the callee functions (and it should not be anyway), so let's make it official in the internal functions
This commit is contained in:
committed by
Carlos R. Mafra
parent
225c99a6ca
commit
d1e1c13fa3
@@ -551,7 +551,7 @@ static void freecolormap(XPMColor * colormap)
|
||||
}
|
||||
|
||||
/* save routine is common to internal support and library support */
|
||||
Bool RSaveXPM(RImage * image, char *filename)
|
||||
Bool RSaveXPM(RImage * image, const char *filename)
|
||||
{
|
||||
FILE *file;
|
||||
int x, y;
|
||||
|
||||
Reference in New Issue
Block a user