summaryrefslogtreecommitdiff
path: root/indicators.c
diff options
context:
space:
mode:
Diffstat (limited to 'indicators.c')
-rw-r--r--indicators.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/indicators.c b/indicators.c
index 995788b..470091e 100644
--- a/indicators.c
+++ b/indicators.c
@@ -57,7 +57,7 @@ ClearIndicatorMapInfo(Display * dpy, LEDInfo * info)
}
LEDInfo *
-AddIndicatorMap(LEDInfo * oldLEDs, LEDInfo * new)
+AddIndicatorMap(LEDInfo *oldLEDs, const LEDInfo *new)
{
LEDInfo *old, *last;
@@ -199,9 +199,8 @@ static LookupEntry groupComponentNames[] = {
};
int
-SetIndicatorMapField(LEDInfo * led,
- XkbDescPtr xkb,
- const char *field, ExprDef *arrayNdx, ExprDef *value)
+SetIndicatorMapField(LEDInfo *led, XkbDescPtr xkb, const char *field,
+ const ExprDef *arrayNdx, const ExprDef *value)
{
ExprResult rtrn;
Bool ok;
@@ -324,9 +323,8 @@ SetIndicatorMapField(LEDInfo * led,
}
LEDInfo *
-HandleIndicatorMapDef(IndicatorMapDef * def,
- XkbDescPtr xkb,
- LEDInfo * dflt, LEDInfo * oldLEDs, unsigned merge)
+HandleIndicatorMapDef(IndicatorMapDef *def, XkbDescPtr xkb,
+ const LEDInfo *dflt, LEDInfo *oldLEDs, unsigned merge)
{
LEDInfo led;
Bool ok;