summaryrefslogtreecommitdiff
path: root/src/timer/timer_query.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-01-04 15:26:33 +0100
committerTakashi Iwai <tiwai@suse.de>2018-01-04 15:29:57 +0100
commitde52ee3bb6669e4771679ebdebc0a90978cb4f74 (patch)
treeb2b2403c687c3548e6593fb2c646ac4ecb86131e /src/timer/timer_query.c
parentf19d9575b069945e1143a43f05a158265b016e01 (diff)
downloadalsa-lib-de52ee3bb6669e4771679ebdebc0a90978cb4f74.tar.gz
core: Proper reference of internal snd_dlopen()
snd_dlopen() was recently rewritten to be versioned symbols, and we have to call it with INTERNAL() wrapper from the library itself. Add the proper declaration in the local header and fix the callers appropriately. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'src/timer/timer_query.c')
-rw-r--r--src/timer/timer_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timer/timer_query.c b/src/timer/timer_query.c
index 6739f3c4..0e046df9 100644
--- a/src/timer/timer_query.c
+++ b/src/timer/timer_query.c
@@ -108,7 +108,7 @@ static int snd_timer_query_open_conf(snd_timer_query_t **timer,
#ifndef PIC
snd_timer_query_open_symbols();
#endif
- h = snd_dlopen(lib, RTLD_NOW, errbuf, sizeof(errbuf));
+ h = INTERNAL(snd_dlopen)(lib, RTLD_NOW, errbuf, sizeof(errbuf));
if (h)
open_func = snd_dlsym(h, open_name, SND_DLSYM_VERSION(SND_TIMER_QUERY_DLSYM_VERSION));
err = 0;