From 6db8fd556e2562e9a0a821c0d6fd4f7cdcf6266c Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 11 Dec 2022 15:18:26 -0800 Subject: Mark more pointers as const Some suggested by cppcheck, others by manual code inspection Signed-off-by: Alan Coopersmith --- xkbcomp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xkbcomp.h') 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 */ -- cgit v1.2.3