From 0f99fe7830fd50f1d4b804fbdb138cbbb462056f Mon Sep 17 00:00:00 2001 From: Clemens Ladisch Date: Mon, 4 Dec 2006 18:07:46 +0100 Subject: 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**. --- include/control.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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); -- cgit v1.2.3