summaryrefslogtreecommitdiff
path: root/xkbpath.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-11 15:18:26 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-01-03 11:02:11 -0800
commit6db8fd556e2562e9a0a821c0d6fd4f7cdcf6266c (patch)
tree45171678d6b1fbfe936bb2586933d3e03c93500a /xkbpath.h
parent299c9762b1dbe53f3297c54e5526aeae767d1a10 (diff)
downloadxorg-app-xkbcomp-6db8fd556e2562e9a0a821c0d6fd4f7cdcf6266c.tar.gz
Mark more pointers as const
Some suggested by cppcheck, others by manual code inspection Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xkbpath.h')
-rw-r--r--xkbpath.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/xkbpath.h b/xkbpath.h
index 65e9dee..fa6ec1f 100644
--- a/xkbpath.h
+++ b/xkbpath.h
@@ -37,18 +37,18 @@ extern Bool XkbAddDirectoryToPath(const char * /* dir */
extern char *XkbDirectoryForInclude(unsigned /* type */
);
-extern FILE *XkbFindFileInPath(char * /* name */ ,
+extern FILE *XkbFindFileInPath(const char * /* name */ ,
unsigned /* type */ ,
char ** /* pathRtrn */
);
-extern void *XkbAddFileToCache(char * /* name */ ,
+extern void *XkbAddFileToCache(const char * /* name */ ,
unsigned /* type */ ,
char * /* path */ ,
void * /* data */
);
-extern void *XkbFindFileInCache(char * /* name */ ,
+extern void *XkbFindFileInCache(const char * /* name */ ,
unsigned /* type */ ,
char ** /* pathRtrn */
);