diff options
author | Jaroslav Kysela <perex@perex.cz> | 2022-01-27 15:01:50 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2022-01-27 15:02:02 +0100 |
commit | 5a7ffd517131033e9bb5cf418392e115526b0027 (patch) | |
tree | 6271d7d0c75fd31fac4408a120134a671aef4a3e | |
parent | 3c665532e0146a1db9fc2ba6d5b16bf3487e17b0 (diff) | |
download | alsa-utils-5a7ffd517131033e9bb5cf418392e115526b0027.tar.gz |
topology: rename function free_pre_preprocessor to free_pre_processor
Line up this name with others.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
-rw-r--r-- | topology/pre-processor.c | 2 | ||||
-rw-r--r-- | topology/topology.c | 6 | ||||
-rw-r--r-- | topology/topology.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/topology/pre-processor.c b/topology/pre-processor.c index e4483b4..581365e 100644 --- a/topology/pre-processor.c +++ b/topology/pre-processor.c @@ -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); diff --git a/topology/topology.c b/topology/topology.c index b766927..8d65768 100644 --- a/topology/topology.c +++ b/topology/topology.c @@ -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); } diff --git a/topology/topology.h b/topology/topology.h index e200825..3a09c20 100644 --- a/topology/topology.h +++ b/topology/topology.h @@ -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 |