The following errors occur at least on NetBSD 9.2 amd64 when building
alsa-utils:
include/alsa/output.h:75:66: error: unknown type name 'va_list'; did you mean '__va_list'?
include/alsa/error.h:80:25: error: unknown type name 'va_list'; did you mean '__va_list'?
They are equivalent, but __func__ is in C99. __FUNCTION__ exists only
for backwards compatibility with old gcc versions.
Signed-off-by: Michael Forney <mforney@mforney.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This is required so we can make other functions reentrant (such as
snd_device_name_hint()).
The default error handling function snd_lib_error_default() now checks
if a local handler exists, and if so, calls it. Otherwise, the previous
behavior is unchanged.
Signed-off-by: Jerome Forissier <jerome@taodyne.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>