summaryrefslogtreecommitdiffstats
path: root/src/core/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/misc.c')
-rw-r--r--src/core/misc.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/core/misc.c b/src/core/misc.c
index 4219a36c5..a54f5a108 100644
--- a/src/core/misc.c
+++ b/src/core/misc.c
@@ -4,20 +4,8 @@ MISC Support Routines
#include <stdlib.h>
#include <byteswap.h>
-#include <latch.h>
#include <gpxe/in.h>
-
-/**************************************************************************
-SLEEP
-**************************************************************************/
-unsigned int sleep(unsigned int secs)
-{
- unsigned long tmo;
-
- for (tmo = currticks()+secs*TICKS_PER_SEC; currticks() < tmo; ) {
- }
- return 0;
-}
+#include <gpxe/timer.h>
/**************************************************************************
INET_ATON - Convert an ascii x.x.x.x to binary form