1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-12 14:43:24 +00:00

Removed unused usleep() call from sycls.c

This commit is contained in:
Gerhard Rieger 2020-12-12 12:58:30 +01:00
parent ecac86a280
commit d4cce300a4
3 changed files with 2 additions and 10 deletions

View file

@ -1329,14 +1329,6 @@ unsigned int Sleep(unsigned int seconds) {
return retval;
}
/* obsolete by POSIX.1-2001 */
void Usleep(unsigned long usec) {
Debug1("usleep(%lu)", usec);
usleep(usec);
Debug("usleep() ->");
return;
}
#if HAVE_NANOSLEEP
unsigned int Nanosleep(const struct timespec *req, struct timespec *rem) {
int retval, _errno;