]> git.alsa-project.org Git - alsa-utils.git/commitdiff
topology: rename function free_pre_preprocessor to free_pre_processor
authorJaroslav Kysela <perex@perex.cz>
Thu, 27 Jan 2022 14:01:50 +0000 (15:01 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 27 Jan 2022 14:02:02 +0000 (15:02 +0100)
Line up this name with others.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
topology/pre-processor.c
topology/topology.c
topology/topology.h

index e4483b4300d52c64d1e6c8a646829b94ab1eb13c..581365e2073a30a9da8cf827ca70fef846ce8b58 100644 (file)
@@ -167,7 +167,7 @@ static int pre_process_config(struct tplg_pre_processor *tplg_pp, snd_config_t *
        return 0;
 }
 
-void free_pre_preprocessor(struct tplg_pre_processor *tplg_pp)
+void free_pre_processor(struct tplg_pre_processor *tplg_pp)
 {
        snd_output_close(tplg_pp->output);
        snd_output_close(tplg_pp->dbg_output);
index b766927b66aaf61f1c9a42e899f144cd95ec0618..8d65768c2bea1a6ffe815a7105b4d58f5f5a0b25 100644 (file)
@@ -281,7 +281,7 @@ static int pre_process_run(struct tplg_pre_processor **tplg_pp,
        free(inc_path);
 
        if (err < 0)
-               free_pre_preprocessor(*tplg_pp);
+               free_pre_processor(*tplg_pp);
        free(config);
        return err;
 }
@@ -299,7 +299,7 @@ static int pre_process_conf(const char *source_file, const char *output_file,
                return err;
 
        /* free pre-processor */
-       free_pre_preprocessor(tplg_pp);
+       free_pre_processor(tplg_pp);
        return err;
 }
 
@@ -332,7 +332,7 @@ static int compile(const char *source_file, const char *output_file, int cflags,
                err = load_topology(&tplg, pconfig, size, cflags);
 
                /* free pre-processor */
-               free_pre_preprocessor(tplg_pp);
+               free_pre_processor(tplg_pp);
        } else {
                err = load_topology(&tplg, config, config_size, cflags);
        }
index e2008255f7e69814f33a191585491438e38b4106..3a09c20caaed8212312dc2c28801972eba571434 100644 (file)
@@ -35,5 +35,5 @@ int pre_process(struct tplg_pre_processor *tplg_pp, char *config, size_t config_
                const char *pre_processor_defs, const char *inc_path);
 int init_pre_processor(struct tplg_pre_processor **tplg_pp, snd_output_type_t type,
                       const char *output_file);
-void free_pre_preprocessor(struct tplg_pre_processor *tplg_pp);
+void free_pre_processor(struct tplg_pre_processor *tplg_pp);
 #endif