summaryrefslogtreecommitdiffstats
path: root/src/include/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/unistd.h')
-rw-r--r--src/include/unistd.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/include/unistd.h b/src/include/unistd.h
index d09e1ae30..6c31c0601 100644
--- a/src/include/unistd.h
+++ b/src/include/unistd.h
@@ -23,19 +23,9 @@ extern int execv ( const char *command, char * const argv[] );
rc; \
} )
-/* Pick up udelay() */
+/* Pick up udelay() and sleep() */
#include <ipxe/timer.h>
-/*
- * sleep() prototype is defined by POSIX.1. usleep() prototype is
- * defined by 4.3BSD. udelay() and mdelay() prototypes are chosen to
- * be reasonably sensible.
- *
- */
-
-extern unsigned int sleep ( unsigned int seconds );
-extern void mdelay ( unsigned long msecs );
-
static inline __always_inline void usleep ( unsigned long usecs ) {
udelay ( usecs );
}