diff options
Diffstat (limited to 'Src/Modules/mapfile.c')
-rw-r--r-- | Src/Modules/mapfile.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Src/Modules/mapfile.c b/Src/Modules/mapfile.c index fb46df885..d825c7faa 100644 --- a/Src/Modules/mapfile.c +++ b/Src/Modules/mapfile.c @@ -213,7 +213,7 @@ static struct paramdef partab[] = { /**/ static HashNode -getpmmapfile(UNUSED(HashTable ht), char *name) +getpmmapfile(UNUSED(HashTable ht), const char *name) { char *contents; Param pm = NULL; @@ -268,8 +268,8 @@ scanpmmapfile(UNUSED(HashTable ht), ScanFunc func, int flags) static struct features module_features = { NULL, 0, NULL, 0, - partab, sizeof(partab)/sizeof(*partab), NULL, 0, + partab, sizeof(partab)/sizeof(*partab), 0 }; @@ -284,7 +284,7 @@ setup_(UNUSED(Module m)) int features_(Module m, char ***features) { - *features = featuresarray(m->nam, &module_features); + *features = featuresarray(m, &module_features); return 0; } @@ -292,7 +292,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); } /**/ @@ -306,7 +306,7 @@ boot_(UNUSED(Module m)) int cleanup_(UNUSED(Module m)) { - return setfeatureenables(m->nam, &module_features, NULL); + return setfeatureenables(m, &module_features, NULL); } /**/ |