summaryrefslogtreecommitdiff
path: root/src/hwdep
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-10-27 16:08:21 +0200
committerTakashi Iwai <tiwai@suse.de>2006-10-27 16:08:21 +0200
commitc9610c024df913f34205e8ceb424a8ba598fc3e1 (patch)
tree0d02da874ac5d5b2ef5d4b1cecd99a2b28e3ba26 /src/hwdep
parent03389a444bebff4f1eb5f64150ba7ff1a3469a9a (diff)
downloadalsa-lib-c9610c024df913f34205e8ceb424a8ba598fc3e1.tar.gz
Fix build of static library
- Add missing pcm_empty entry - Return the array pointer instead of the first array member. Otherwise only the first entry is linked to the binary.
Diffstat (limited to 'src/hwdep')
-rw-r--r--src/hwdep/hwdep_symbols.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hwdep/hwdep_symbols.c b/src/hwdep/hwdep_symbols.c
index 89a0af84..f268e606 100644
--- a/src/hwdep/hwdep_symbols.c
+++ b/src/hwdep/hwdep_symbols.c
@@ -28,7 +28,7 @@ static const char **snd_hwdep_open_objects[] = {
void *snd_hwdep_open_symbols(void)
{
- return (void *)snd_hwdep_open_objects[0];
+ return snd_hwdep_open_objects;
}
#endif