aboutsummaryrefslogtreecommitdiff
path: root/libXpm/src/RdFToI.c
diff options
context:
space:
mode:
Diffstat (limited to 'libXpm/src/RdFToI.c')
-rw-r--r--libXpm/src/RdFToI.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libXpm/src/RdFToI.c b/libXpm/src/RdFToI.c
index e56e3f8b6..bd09611b1 100644
--- a/libXpm/src/RdFToI.c
+++ b/libXpm/src/RdFToI.c
@@ -49,7 +49,7 @@
#endif
#endif
-LFUNC(OpenReadFile, int, (char *filename, xpmData *mdata));
+LFUNC(OpenReadFile, int, (const char *filename, xpmData *mdata));
LFUNC(xpmDataClose, void, (xpmData *mdata));
FUNC(xpmPipeThrough, FILE*, (int fd,
@@ -61,7 +61,7 @@ FUNC(xpmPipeThrough, FILE*, (int fd,
int
XpmReadFileToImage(
Display *display,
- char *filename,
+ const char *filename,
XImage **image_return,
XImage **shapeimage_return,
XpmAttributes *attributes)
@@ -104,7 +104,7 @@ XpmReadFileToImage(
int
XpmReadFileToXpmImage(
- char *filename,
+ const char *filename,
XpmImage *image,
XpmInfo *info)
{
@@ -194,7 +194,7 @@ fail2:
*/
static int
OpenReadFile(
- char *filename,
+ const char *filename,
xpmData *mdata)
{
if (!filename) {