Don't use depricated xxx_cmdline_parser_configfile().
[paraslash.git] / audioc.c
index e20e887..31b98b5 100644 (file)
--- a/audioc.c
+++ b/audioc.c
@@ -75,7 +75,13 @@ int main(int argc, char *argv[])
        HANDLE_VERSION_FLAG("audioc", conf);
        cf = configfile_exists();
        if (cf) {
-               if (audioc_cmdline_parser_configfile(cf, &conf, 0, 0, 0)) {
+               struct audioc_cmdline_parser_params params = {
+                       .override = 0,
+                       .initialize = 0,
+                       .check_required = 0,
+                       .check_ambiguity = 0
+               };
+               if (audioc_cmdline_parser_config_file(cf, &conf, &params)) {
                        fprintf(stderr, "parse error in config file\n");
                        exit(EXIT_FAILURE);
                }