Some IDEs parse headers in isolation to populate their code model. This
exposes some missing headers, mainly for alsa internal struct
definitions, ssize_t (requiring sys/types.h), size_t (requiring
string.h), va_args (requiring stdargs.h) or FILE (requiring stdio.h)
This patch makes the main headers parsable by qtcreator
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>