mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-22 01:08:31 +00:00
21c145b1089bccc96e67ebb28166797ae60c35ba
usleep is deprecated and disabled in glibc 2.12 unless requested. Use
nanosleep instead if available.
This fixes the following compiler warning:
./src/zrtp_iface_scheduler.c: In function 'zrtp_sleep':
./src/zrtp_iface_scheduler.c:96:2: warning: implicit declaration of
function 'usleep' [-Wimplicit-function-declaration]
usleep(msec*1000);
^
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 unlock the telecommunications potential of any device.
BSD-3-Clause, ISC
235 MiB
0 Stars
1 Watchers
0 Forks
Languages
C
60.3%
C++
27.2%
JavaScript
4.3%
Assembly
1.7%
Makefile
1%
Other
4.9%