alsa-lib/src/rawmidi/rawmidi_symbols.c

41 lines
1.2 KiB
C
Raw Normal View History

2001-10-24 14:15:54 +00:00
/*
* RawMidi Symbols
* Copyright (c) 2001 by Jaroslav Kysela <perex@perex.cz>
2001-10-24 14:15:54 +00:00
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
2001-10-24 14:15:54 +00:00
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
2001-10-24 14:15:54 +00:00
*
* You should have received a copy of the GNU Lesser General Public
2001-10-24 14:15:54 +00:00
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2001-10-24 14:15:54 +00:00
*
*/
#ifndef PIC
extern const char *_snd_module_rawmidi_hw;
#ifdef BUILD_SEQ
2003-07-29 17:15:34 +00:00
extern const char *_snd_module_rawmidi_virt;
#endif
2001-10-24 14:15:54 +00:00
static const char **snd_rawmidi_open_objects[] = {
2003-07-29 17:15:34 +00:00
&_snd_module_rawmidi_hw,
#ifdef BUILD_SEQ
2003-07-29 17:15:34 +00:00
&_snd_module_rawmidi_virt
#endif
2001-10-24 14:15:54 +00:00
};
void *snd_rawmidi_open_symbols(void)
{
return snd_rawmidi_open_objects;
2001-10-24 14:15:54 +00:00
}
#endif /* !PIC */