diff options
Diffstat (limited to 'Src/Zle/zleparameter.c')
-rw-r--r-- | Src/Zle/zleparameter.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Src/Zle/zleparameter.c b/Src/Zle/zleparameter.c index 1b84fdff7..ab988d6df 100644 --- a/Src/Zle/zleparameter.c +++ b/Src/Zle/zleparameter.c @@ -56,7 +56,7 @@ widgetstr(Widget w) /**/ static HashNode -getpmwidgets(UNUSED(HashTable ht), char *name) +getpmwidgets(UNUSED(HashTable ht), const char *name) { Param pm = NULL; Thingy th; @@ -129,16 +129,16 @@ static const struct gsu_array keymaps_gsu = { keymapsgetfn, arrsetfn, stdunsetfn }; static struct paramdef partab[] = { - SPECIALPMDEF("widgets", PM_READONLY, - &zlestdhash_gsu, getpmwidgets, scanpmwidgets), SPECIALPMDEF("keymaps", PM_ARRAY|PM_READONLY, &keymaps_gsu, NULL, NULL), + SPECIALPMDEF("widgets", PM_READONLY, + &zlestdhash_gsu, getpmwidgets, scanpmwidgets) }; static struct features module_features = { NULL, 0, NULL, 0, - partab, sizeof(partab)/sizeof(*partab), NULL, 0, + partab, sizeof(partab)/sizeof(*partab), 0 }; @@ -153,7 +153,7 @@ setup_(UNUSED(Module m)) int features_(Module m, char ***features) { - *features = featuresarray(m->nam, &module_features); + *features = featuresarray(m, &module_features); return 0; } @@ -161,7 +161,7 @@ features_(Module m, char ***features) int enables_(Module m, int **enables) { - return handlefeatures(m->nam, &module_features, enables); + return handlefeatures(m, &module_features, enables); } /**/ @@ -175,7 +175,7 @@ boot_(UNUSED(Module m)) int cleanup_(Module m) { - return setfeatureenables(m->nam, &module_features, NULL); + return setfeatureenables(m, &module_features, NULL); } /**/ |