]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Fixed compilation problem
authorJaroslav Kysela <perex@perex.cz>
Sat, 24 Nov 2001 18:18:25 +0000 (18:18 +0000)
committerJaroslav Kysela <perex@perex.cz>
Sat, 24 Nov 2001 18:18:25 +0000 (18:18 +0000)
src/hwdep/hwdep.c

index 2d62a4e292ea95eca55d346e16d923051569c48d..bf014d87c2ff28d2e010b17fd6aeed3f5980f6aa 100644 (file)
@@ -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);
 }