]> git.alsa-project.org Git - alsa-lib.git/commitdiff
hwdep: add missing declaration for snd_hwdep_poll_descriptors_count()
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 16 Sep 2014 22:07:03 +0000 (07:07 +0900)
committerTakashi Iwai <tiwai@suse.de>
Wed, 17 Sep 2014 05:54:43 +0000 (07:54 +0200)
The alsa-lib has 'snd_hwdep_poll_descriptors_count()' but hwdep.h has no
declaration for the function. No applications can call the function just
by including the header.

This commit adds a line to the file for this function.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/hwdep.h

index 6496fa2d7d87cb77268e8478a75d02035cd95190..ad8bb4972818cc24050d41cd3dc4701112c6aa34 100644 (file)
@@ -102,6 +102,7 @@ typedef struct _snd_hwdep snd_hwdep_t;
 int snd_hwdep_open(snd_hwdep_t **hwdep, const char *name, int mode);
 int snd_hwdep_close(snd_hwdep_t *hwdep);
 int snd_hwdep_poll_descriptors(snd_hwdep_t *hwdep, struct pollfd *pfds, unsigned int space);
+int snd_hwdep_poll_descriptors_count(snd_hwdep_t *hwdep);
 int snd_hwdep_poll_descriptors_revents(snd_hwdep_t *hwdep, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
 int snd_hwdep_nonblock(snd_hwdep_t *hwdep, int nonblock);
 int snd_hwdep_info(snd_hwdep_t *hwdep, snd_hwdep_info_t * info);