summaryrefslogtreecommitdiffstats
path: root/src/core/misc.c
diff options
context:
space:
mode:
authorMichael Brown2007-01-14 01:16:41 +0100
committerMichael Brown2007-01-14 01:16:41 +0100
commitc2708df14ae58e45626525d930c6d5560f28500a (patch)
treea3679604aab009a3284dfd7b4759876baba53434 /src/core/misc.c
parentMake "boot" a synonym for "imgexec", to match grub (diff)
downloadipxe-c2708df14ae58e45626525d930c6d5560f28500a.tar.gz
ipxe-c2708df14ae58e45626525d930c6d5560f28500a.tar.xz
ipxe-c2708df14ae58e45626525d930c6d5560f28500a.zip
Make shutdown functions callable by OS image's exec methods.
Diffstat (limited to 'src/core/misc.c')
-rw-r--r--src/core/misc.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/core/misc.c b/src/core/misc.c
index fcbcdd6f..e150709a 100644
--- a/src/core/misc.c
+++ b/src/core/misc.c
@@ -95,32 +95,6 @@ void interruptible_sleep(int secs)
}
/**************************************************************************
-TWIDDLE
-**************************************************************************/
-void twiddle(void)
-{
-#ifdef BAR_PROGRESS
- static int count=0;
- static const char tiddles[]="-\\|/";
- static unsigned long lastticks = 0;
- unsigned long ticks;
-#endif
- if ( ! as_main_program ) return;
-#ifdef BAR_PROGRESS
- /* Limit the maximum rate at which characters are printed */
- ticks = currticks();
- if ((lastticks + (TICKS_PER_SEC/18)) > ticks)
- return;
- lastticks = ticks;
-
- putchar(tiddles[(count++)&3]);
- putchar('\b');
-#else
- putchar('.');
-#endif /* BAR_PROGRESS */
-}
-
-/**************************************************************************
STRCASECMP (not entirely correct, but this will do for our purposes)
**************************************************************************/
int strcasecmp(const char *a, const char *b)