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.
This commit is contained in:
Takashi Iwai 2006-10-27 16:08:21 +02:00
parent 03389a444b
commit c9610c024d
6 changed files with 7 additions and 6 deletions

View file

@ -30,7 +30,7 @@ static const char **snd_control_open_objects[] = {
void *snd_control_open_symbols(void)
{
return (void *)snd_control_open_objects[0];
return snd_control_open_objects;
}
#endif /* !PIC */