badf708d69
Fix: hw/audio/soundhw.c:86:33: error: declaration shadows a variable in the global scope [-Werror,-Wshadow] void select_soundhw(const char *optarg, const char *audiodev) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/getopt.h:77:14: note: previous declaration is here extern char *optarg; /* getopt(3) external variables */ ^ Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20231004120019.93101-2-philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
14 lines
446 B
C
14 lines
446 B
C
#ifndef HW_SOUNDHW_H
|
|
#define HW_SOUNDHW_H
|
|
|
|
void pci_register_soundhw(const char *name, const char *descr,
|
|
int (*init_pci)(PCIBus *bus, const char *audiodev));
|
|
void deprecated_register_soundhw(const char *name, const char *descr,
|
|
int isa, const char *typename);
|
|
|
|
void soundhw_init(void);
|
|
void show_valid_soundhw(void);
|
|
void select_soundhw(const char *name, const char *audiodev);
|
|
|
|
#endif
|