summaryrefslogtreecommitdiff
path: root/xkbcomp.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 /xkbcomp.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 'xkbcomp.h')
-rw-r--r--xkbcomp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xkbcomp.h b/xkbcomp.h
index 423a2cf..cbb24f0 100644
--- a/xkbcomp.h
+++ b/xkbcomp.h
@@ -359,7 +359,7 @@ extern Bool CompileKeyTypes(XkbFile * /* file */ ,
typedef struct _LEDInfo *LEDInfoPtr;
-extern Bool CompileCompatMap(XkbFile * /* file */ ,
+extern Bool CompileCompatMap(const XkbFile * /* file */ ,
XkbFileInfo * /* result */ ,
unsigned /* merge */ ,
LEDInfoPtr * /* unboundLEDs */
@@ -385,7 +385,7 @@ extern Bool AddMatchingFiles(char * /* head_in */
extern int AddMapOnly(char * /* map */
);
-extern int GenerateListing(char * /* filename */
+extern int GenerateListing(const char * /* filename */
);
#endif /* XKBCOMP_H */