From: Clemens Ladisch Date: Mon, 4 Dec 2006 17:07:46 +0000 (+0100) Subject: fix string list parameter in snd_device_name_(free_)hint prototypes X-Git-Tag: v1.0.14rc1~4 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=0f99fe7830fd50f1d4b804fbdb138cbbb462056f;p=alsa-lib.git fix string list parameter in snd_device_name_(free_)hint prototypes Fix the type of the string list parameter in the prototypes of snd_device_name_hint() and snd_device_name_free_hint(). The prototypes used char**, while the implementation and the users are using void**. --- diff --git a/include/control.h b/include/control.h index 97fb51ad..1205207d 100644 --- a/include/control.h +++ b/include/control.h @@ -214,8 +214,8 @@ int snd_card_get_index(const char *name); int snd_card_get_name(int card, char **name); int snd_card_get_longname(int card, char **name); -int snd_device_name_hint(int card, const char *iface, char ***hints); -int snd_device_name_free_hint(char **hints); +int snd_device_name_hint(int card, const char *iface, void ***hints); +int snd_device_name_free_hint(void **hints); int snd_ctl_open(snd_ctl_t **ctl, const char *name, int mode); int snd_ctl_open_lconf(snd_ctl_t **ctl, const char *name, int mode, snd_config_t *lconf);