OSDN Git Service

fix string list parameter in snd_device_name_(free_)hint prototypes
authorClemens Ladisch <clemens@ladisch.de>
Mon, 4 Dec 2006 17:07:46 +0000 (18:07 +0100)
committerClemens Ladisch <clemens@ladisch.de>
Mon, 4 Dec 2006 17:07:46 +0000 (18:07 +0100)
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

index 97fb51a..1205207 100644 (file)
@@ -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);