summaryrefslogtreecommitdiff
path: root/src/seq
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/seq
parent03389a444bebff4f1eb5f64150ba7ff1a3469a9a (diff)
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/seq')
-rw-r--r--src/seq/seq_symbols.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/seq/seq_symbols.c b/src/seq/seq_symbols.c
index a66cac3e..c24d3e1b 100644
--- a/src/seq/seq_symbols.c
+++ b/src/seq/seq_symbols.c
@@ -28,7 +28,7 @@ static const char **snd_seq_open_objects[] = {
void *snd_seq_open_symbols(void)
{
- return (void *)snd_seq_open_objects[0];
+ return snd_seq_open_objects;
}
#endif /* !PIC */