diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-03-27 18:21:12 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-03-27 18:21:12 -0700 |
commit | 8b9c4e4c5d278409dc41d19f0c8a8940403cd5c7 (patch) | |
tree | 2ba65bf28e4e3fac2aa8d0c2e2fae319bdd12689 /src/XpmI.h | |
parent | fd620b4f6c59674090b956a9d9e188a1250a4663 (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.h | 2 |
1 files changed, 1 insertions, 1 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)); |