From 9ab3c4a66952c3ae4277624152da675050c7d2ad Mon Sep 17 00:00:00 2001 From: Takashi Sakamoto Date: Wed, 17 Sep 2014 07:07:03 +0900 Subject: hwdep: add missing declaration for snd_hwdep_poll_descriptors_count() 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 Signed-off-by: Takashi Iwai --- include/hwdep.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/hwdep.h b/include/hwdep.h index 6496fa2d..ad8bb497 100644 --- a/include/hwdep.h +++ b/include/hwdep.h @@ -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); -- cgit v1.2.3