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 --- vmod.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vmod.h') diff --git a/vmod.h b/vmod.h index 66683b5..6e02036 100644 --- a/vmod.h +++ b/vmod.h @@ -44,7 +44,7 @@ extern void ClearVModInfo(VModInfo * /* info */ , XkbDescPtr /* xkb */ ); -extern Bool HandleVModDef(VModDef * /* stmt */ , +extern Bool HandleVModDef(const VModDef * /* stmt */ , unsigned /* mergeMode */ , VModInfo * /* info */ ); @@ -63,9 +63,9 @@ extern int LookupVModMask(XPointer /* priv */ , extern int FindKeypadVMod(XkbDescPtr /* xkb */ ); -extern Bool ResolveVirtualModifier(ExprDef * /* def */ , +extern Bool ResolveVirtualModifier(const ExprDef * /* def */ , ExprResult * /* value_rtrn */ , - VModInfo * /* info */ + const VModInfo * /* info */ ); #endif /* VMOD_H */ -- cgit v1.2.3