alsa-utils/bat
Takashi Iwai 3bf8e79c3b bat: Avoid local signal.h file
The local header file named as "signal.h" causes mysterious compile
error when built with an old glibc.
 signal.h:27: error: conflicting types for 'sin_generator_init'
 ./signal.h:27: error: previous declaration of 'sin_generator_init' was here
 signal.h:28: error: conflicting types for 'sin_generator_next_sample'
 ./signal.h:28: error: previous declaration of 'sin_generator_next_sample' was here
 ....

This turned out to be the conflict of signal.h; namely, pthread.h that
is included before our local signal.h also includes "pthread.h".
Since our local "signal.h" has a higher priority, it gets loaded
instead of the expected pthread's one.  Then we load it again, and it
screws up.

Although it's basically a bug of pthread, it's anyway not good to have
a header file conflicting with the standard header file.  So, let's
name it more explicitly as specific to BAT, bat-signal.h, for avoiding
such a conflict.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-11-09 14:04:11 +01:00
..
alsa.c bat: Avoid local signal.h file 2015-11-09 14:04:11 +01:00
alsa.h BAT: Add playback and record functions 2015-10-02 12:42:01 +02:00
analyze.c BAT: Add spectrum analysis functions 2015-10-02 12:42:03 +02:00
analyze.h BAT: Add spectrum analysis functions 2015-10-02 12:42:03 +02:00
bat-signal.h bat: Avoid local signal.h file 2015-11-09 14:04:11 +01:00
bat.1 BAT: Add man page 2015-10-21 09:29:52 +02:00
bat.c BAT: Add missing locale.h header 2015-10-24 09:43:26 +02:00
common.c BAT: Add common definitions and functions 2015-10-02 12:42:01 +02:00
common.h BAT: Use dynamic temp file 2015-10-20 11:06:24 +02:00
convert.c BAT: Add converting functions 2015-10-02 12:42:02 +02:00
convert.h BAT: Add converting functions 2015-10-02 12:42:02 +02:00
Makefile.am bat: Avoid local signal.h file 2015-11-09 14:04:11 +01:00
signal.c BAT: Add signal generator 2015-10-02 12:42:02 +02:00