OSDN Git Service

Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz
[android-x86/external-alsa-lib.git] / src / timer / timer_symbols.c
1 /*
2  *  Timer Symbols
3  *  Copyright (c) 2001 by Jaroslav Kysela <perex@perex.cz>
4  *
5  *   This library is free software; you can redistribute it and/or modify
6  *   it under the terms of the GNU Lesser General Public License as
7  *   published by the Free Software Foundation; either version 2.1 of
8  *   the License, or (at your option) any later version.
9  *
10  *   This program is distributed in the hope that it will be useful,
11  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *   GNU Lesser General Public License for more details.
14  *
15  *   You should have received a copy of the GNU Lesser General Public
16  *   License along with this library; if not, write to the Free Software
17  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
18  *
19  */
20
21 #ifndef PIC
22
23 extern const char *_snd_module_timer_hw;
24
25 static const char **snd_timer_open_objects[] = {
26         &_snd_module_timer_hw
27 };
28         
29 void *snd_timer_open_symbols(void)
30 {
31         return (void *)snd_timer_open_objects[0];
32 }
33
34
35 extern const char *_snd_module_timer_query_hw;
36
37 static const char **snd_timer_query_open_objects[] = {
38         &_snd_module_timer_query_hw
39 };
40         
41 void *snd_timer_query_open_symbols(void)
42 {
43         return snd_timer_query_open_objects;
44 }
45
46 #endif /* !PIC */