summaryrefslogtreecommitdiff
path: root/src/XpmI.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2023-03-27 18:21:12 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-03-27 18:21:12 -0700
commit8b9c4e4c5d278409dc41d19f0c8a8940403cd5c7 (patch)
tree2ba65bf28e4e3fac2aa8d0c2e2fae319bdd12689 /src/XpmI.h
parentfd620b4f6c59674090b956a9d9e188a1250a4663 (diff)
xpmReadRgbNames: constify filename argument
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/XpmI.h')
-rw-r--r--src/XpmI.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XpmI.h b/src/XpmI.h
index 4360ad3..70da79e 100644
--- a/src/XpmI.h
+++ b/src/XpmI.h
@@ -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));