mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 00:35:42 +01:00
alsabat: make snr_is_valid static
The compilation fails due to multiple defination of snr_is_valid common.o: In function `snr_is_valid': bat/common.h:99: multiple definition of `snr_is_valid' bat.o:bat/common.h:99: first defined here signal.o: In function `snr_is_valid': bat/common.h:99: multiple definition of `snr_is_valid' bat.o:bat/common.h:99: first defined here latencytest.o: In function `snr_is_valid': bat/common.h:99: multiple definition of `snr_is_valid' bat.o:bat/common.h:99: first defined here analyze.o: In function `snr_is_valid': bat/common.h:99: multiple definition of `snr_is_valid' bat.o:bat/common.h:99: first defined here alsa.o: In function `snr_is_valid': bat/common.h:99: multiple definition of `snr_is_valid' bat.o:bat/common.h:99: first defined here Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
9dee2da0af
commit
81eb216807
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@
|
|||
#define SNR_DB_MIN 0.0
|
||||
#define SNR_DB_MAX 200.0
|
||||
|
||||
inline bool snr_is_valid(float db)
|
||||
static inline bool snr_is_valid(float db)
|
||||
{
|
||||
return (db > SNR_DB_MIN && db < SNR_DB_MAX);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue