diff options
author | Takashi Iwai <tiwai@suse.de> | 2006-10-27 16:08:21 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2006-10-27 16:08:21 +0200 |
commit | c9610c024df913f34205e8ceb424a8ba598fc3e1 (patch) | |
tree | 0d02da874ac5d5b2ef5d4b1cecd99a2b28e3ba26 /src/rawmidi | |
parent | 03389a444bebff4f1eb5f64150ba7ff1a3469a9a (diff) | |
download | alsa-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/rawmidi')
-rw-r--r-- | src/rawmidi/rawmidi_symbols.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rawmidi/rawmidi_symbols.c b/src/rawmidi/rawmidi_symbols.c index a15dd572..14de0ce5 100644 --- a/src/rawmidi/rawmidi_symbols.c +++ b/src/rawmidi/rawmidi_symbols.c @@ -30,7 +30,7 @@ static const char **snd_rawmidi_open_objects[] = { void *snd_rawmidi_open_symbols(void) { - return (void *)snd_rawmidi_open_objects[0]; + return snd_rawmidi_open_objects; } #endif /* !PIC */ |