diff options
-rw-r--r-- | src/XpmI.h | 2 | ||||
-rw-r--r-- | src/rgb.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -254,7 +254,7 @@ FUNC(xpmParseExtensions, int, (xpmData *data, XpmExtension **extensions, /* RGB utility */ -FUNC(xpmReadRgbNames, int, (char *rgb_fname, xpmRgbName *rgbn)); +FUNC(xpmReadRgbNames, int, (const char *rgb_fname, xpmRgbName *rgbn)); FUNC(xpmGetRgbName, char *, (xpmRgbName *rgbn, int rgbn_max, int red, int green, int blue)); FUNC(xpmFreeRgbNames, void, (xpmRgbName *rgbn, int rgbn_max)); @@ -57,7 +57,7 @@ */ int xpmReadRgbNames( - char *rgb_fname, + const char *rgb_fname, xpmRgbName rgbn[]) { FILE *rgbf; @@ -162,7 +162,7 @@ xpmFreeRgbNames( int xpmReadRgbNames( - char *rgb_fname, + const char *rgb_fname, xpmRgbName rgbn[]) { /* |