Sebastian Kemper 8c94e6f57f FS-9840 mod_avmd: Fix implicit declaration warning
Fix the following compile-time warning:

making all mod_avmd
make[7]: Entering directory '/home/sk/tmp/lede/build_dir/target-mips_24kc_musl-1.1.15/freeswitch-1.8.0/src/mod/applications/mod_avmd'
  CC       mod_avmd_la-mod_avmd.lo
mod_avmd.c: In function 'avmd_process_sample':
mod_avmd.c:49:19: error: implicit declaration of function '__isinf' [-Werror=implicit-function-declaration]
 #define ISINF(x) (__isinf(x))
                   ^
mod_avmd.c:2038:33: note: in expansion of macro 'ISINF'
         if (ISNAN(amplitude) || ISINF(amplitude)) {
                                 ^
cc1: all warnings being treated as errors
Makefile:682: recipe for target 'mod_avmd_la-mod_avmd.lo' failed

Fix this by adding the declaration for __isinf(), the same is done for
__isnan() already

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2016-12-23 21:44:30 +01:00
2016-11-22 16:18:53 +01:00
2014-03-24 12:39:59 +00:00
2015-05-28 12:47:19 -05:00
2016-11-10 12:09:00 -06:00
2016-11-30 14:29:21 -06:00
2015-10-09 11:10:32 -07:00
2015-12-15 17:02:49 +00:00
2014-12-26 17:22:20 +00:00
2014-08-01 14:47:38 -05:00
2013-09-16 22:59:26 +05:00
2013-09-16 22:59:26 +05:00
2016-11-29 18:54:17 -06:00
2013-04-04 20:52:47 -05:00
2016-11-10 12:09:00 -06:00
2013-12-23 22:43:06 +05:00
Description
FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unl
Multiple Licenses 206 MiB
Languages
C 65.2%
C++ 20.8%
JavaScript 4.8%
Assembly 2%
Makefile 1%
Other 5.4%