[ALSA] sound/core.h: evil #ifdefs
snd_minor_info_oss_* is an function returning int _or_ comment, depending on config parameters. That is truly evil, fix it. Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
a8bb1bad9b
commit
ad5fada51d
|
@ -277,8 +277,8 @@ int snd_minor_info_done(void);
|
|||
int snd_minor_info_oss_init(void);
|
||||
int snd_minor_info_oss_done(void);
|
||||
#else
|
||||
#define snd_minor_info_oss_init() /*NOP*/
|
||||
#define snd_minor_info_oss_done() /*NOP*/
|
||||
static inline int snd_minor_info_oss_init(void) { return 0; }
|
||||
static inline int snd_minor_info_oss_done(void) { return 0; }
|
||||
#endif
|
||||
|
||||
/* memory.c */
|
||||
|
|
Loading…
Reference in New Issue