]> git.alsa-project.org Git - alsa-lib.git/commitdiff
topology: Add missing prototypes for new functions
authorTakashi Iwai <tiwai@suse.de>
Sat, 7 Nov 2015 10:29:13 +0000 (11:29 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 9 Nov 2015 07:38:41 +0000 (08:38 +0100)
The prototypes for some functions that have been added in the recent
changes are missing, which leads to compile warnings.  Let's fix.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/topology/tplg_local.h

index e9c8e29cd47a24a912abb70f5cab2d12d9276bf1..06cb1005760c391d069b9a80fa9c36ce1fe7416f 100644 (file)
@@ -222,3 +222,8 @@ int tplg_add_enum(snd_tplg_t *tplg, struct snd_tplg_enum_template *enum_ctl,
                  struct tplg_elem **e);
 int tplg_add_bytes(snd_tplg_t *tplg, struct snd_tplg_bytes_template *bytes_ctl,
                   struct tplg_elem **e);
+
+int tplg_build_pcm(snd_tplg_t *tplg, unsigned int type);
+int tplg_build_link_cfg(snd_tplg_t *tplg, unsigned int type);
+int tplg_add_link_object(snd_tplg_t *tplg, snd_tplg_obj_template_t *t);
+int tplg_add_pcm_object(snd_tplg_t *tplg, snd_tplg_obj_template_t *t);