• Sebastian Kemper's avatar
    FS-9840 mod_avmd: Fix implicit declaration warning · 8c12569d
    Sebastian Kemper 提交于
    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: 's avatarSebastian Kemper <sebastian_ml@gmx.net>
    8c12569d
名称
最后提交
最后更新
..
applications 正在载入提交数据...
asr_tts 正在载入提交数据...
codecs 正在载入提交数据...
dialplans 正在载入提交数据...
directories/mod_ldap 正在载入提交数据...
endpoints 正在载入提交数据...
event_handlers 正在载入提交数据...
formats 正在载入提交数据...
languages 正在载入提交数据...
loggers 正在载入提交数据...
say 正在载入提交数据...
sdk/autotools 正在载入提交数据...
timers 正在载入提交数据...
xml_int 正在载入提交数据...
.gitignore 正在载入提交数据...
Makefile.am 正在载入提交数据...