From c54911b249ebbfe70e040efc703970847b2ccdbd Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Wed, 24 Oct 2001 14:16:13 +0000 Subject: [PATCH] Added missing file --- src/control/control_symbols.c | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/control/control_symbols.c diff --git a/src/control/control_symbols.c b/src/control/control_symbols.c new file mode 100644 index 00000000..0152b9c8 --- /dev/null +++ b/src/control/control_symbols.c @@ -0,0 +1,36 @@ +/* + * Control Symbols + * Copyright (c) 2001 by Jaroslav Kysela + * + * This library is free software; you can redistribute it and/or modify + * it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of + * 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 Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifndef PIC + +extern const char *_snd_module_control_hw; +extern const char *_snd_module_control_shm; + +static const char **snd_control_open_objects[] = { + &_snd_module_control_hw, + &_snd_module_control_shm +}; + +void *snd_control_open_symbols(void) +{ + return (void *)snd_control_open_objects[0]; +} + +#endif /* !PIC */ -- 2.47.1