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:
parent
ecac86a280
commit
d4cce300a4
3 changed files with 2 additions and 10 deletions
8
sycls.c
8
sycls.c
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue