You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
427 B

  1. --- a/sycls.c
  2. +++ b/sycls.c
  3. @@ -1329,6 +1329,7 @@ unsigned int Sleep(unsigned int seconds) {
  4. return retval;
  5. }
  6. +#if 0
  7. /* obsolete by POSIX.1-2001 */
  8. void Usleep(unsigned long usec) {
  9. Debug1("usleep(%lu)", usec);
  10. @@ -1336,6 +1337,7 @@ void Usleep(unsigned long usec) {
  11. Debug("usleep() ->");
  12. return;
  13. }
  14. +#endif
  15. #if HAVE_NANOSLEEP
  16. unsigned int Nanosleep(const struct timespec *req, struct timespec *rem) {