mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 00:45:41 +01:00
4c09aaa5c1
A lot of reports that alsamixer crashes in X terminal when the PulseAudio CTL plugin is activated were entered to the tracking systems. I figured that there is a linking clash for the shutdown() function. The shutdown() function in glibc is socket related, but the alsamixer code redefines this function and appearently that under some linking circumstances - which PA client invokes during the runtime dynamic linking - the wrong function is called. This patch, for safety, renames the shutdown() function from alsamixer to app_shutdown(), but it might make sense to figure the real linking culprit to avoid future surprises. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
10 lines
171 B
C
10 lines
171 B
C
#ifndef MAINLOOP_H_INCLUDED
|
|
#define MAINLOOP_H_INCLUDED
|
|
|
|
#include CURSESINC
|
|
|
|
void initialize_curses(bool use_color);
|
|
void mainloop(void);
|
|
void app_shutdown(void);
|
|
|
|
#endif
|