diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-12-11 15:18:26 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-01-03 11:02:11 -0800 |
commit | 6db8fd556e2562e9a0a821c0d6fd4f7cdcf6266c (patch) | |
tree | 45171678d6b1fbfe936bb2586933d3e03c93500a /indicators.h | |
parent | 299c9762b1dbe53f3297c54e5526aeae767d1a10 (diff) |
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 'indicators.h')
-rw-r--r-- | indicators.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indicators.h b/indicators.h index 6bf6111..befee60 100644 --- a/indicators.h +++ b/indicators.h @@ -57,19 +57,19 @@ extern void ClearIndicatorMapInfo(Display * /* dpy */ , extern LEDInfo *AddIndicatorMap(LEDInfo * /* oldLEDs */ , - LEDInfo * /* newLED */ + const LEDInfo * /* newLED */ ); extern int SetIndicatorMapField(LEDInfo * /* led */ , XkbDescPtr /* xkb */ , const char * /* field */ , - ExprDef * /* arrayNdx */ , - ExprDef * /* value */ + const ExprDef * /* arrayNdx */ , + const ExprDef * /* value */ ); extern LEDInfo *HandleIndicatorMapDef(IndicatorMapDef * /* stmt */ , XkbDescPtr /* xkb */ , - LEDInfo * /* dflt */ , + const LEDInfo * /* dflt */ , LEDInfo * /* oldLEDs */ , unsigned /* mergeMode */ ); |