From: Jaroslav Kysela Date: Sat, 24 Nov 2001 18:18:25 +0000 (+0000) Subject: Fixed compilation problem X-Git-Tag: v1.0.3~576 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=7cf4ef131d494e3de4d9656172e50649791e1a78;p=alsa-lib.git Fixed compilation problem --- diff --git a/src/hwdep/hwdep.c b/src/hwdep/hwdep.c index 2d62a4e2..bf014d87 100644 --- a/src/hwdep/hwdep.c +++ b/src/hwdep/hwdep.c @@ -181,9 +181,10 @@ int snd_hwdep_open(snd_hwdep_t **hwdep, const char *name, int mode) * Opens a new connection to the HwDep interface specified with * an ASCII identifier and mode. */ -int snd_hwdep_open(snd_hwdep_t **hwdep, const char *name, int mode, snd_config_t *lconf) +int snd_hwdep_open_lconf(snd_hwdep_t **hwdep, const char *name, + int mode, snd_config_t *lconf) { - assert(hwdep && name); + assert(hwdep && name && lconf); return snd_hwdep_open_noupdate(hwdep, lconf, name, mode); }