aboutsummaryrefslogtreecommitdiffstats
path: root/com32/cmenu
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@mouraf.org>2009-08-21 08:37:06 -0700
committerPierre-Alexandre Meyer <pierre@mouraf.org>2009-09-01 11:43:37 -0700
commitd79a67642cb6200af84eaf451808b1c0d06f673b (patch)
treea8681a15012ca9fb604388f74d6da598074ed354 /com32/cmenu
parent0f35e6ef1d7667eb82babf7ff9b14e67fca69c2b (diff)
downloadsyslinux-d79a67642cb6200af84eaf451808b1c0d06f673b.tar.gz
syslinux-d79a67642cb6200af84eaf451808b1c0d06f673b.tar.xz
syslinux-d79a67642cb6200af84eaf451808b1c0d06f673b.zip
cmenu: remove unused bit_reverse function
Not needed anymore: we use a lookup table (ansi_char) in cprint_vga2ansi now to reverse Background and Foreground bits.. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Diffstat (limited to 'com32/cmenu')
-rw-r--r--com32/cmenu/libmenu/com32io.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/com32/cmenu/libmenu/com32io.c b/com32/cmenu/libmenu/com32io.c
index 330bcb93..778ab97a 100644
--- a/com32/cmenu/libmenu/com32io.c
+++ b/com32/cmenu/libmenu/com32io.c
@@ -17,16 +17,6 @@
com32sys_t inreg, outreg; // Global register sets for use
-static unsigned int bit_reverse(unsigned int code, int len)
-{
- register unsigned res = 0;
- do {
- res |= code & 1;
- code >>= 1, res <<= 1;
- } while (--len > 0);
- return res >> 1;
-}
-
void cprint_vga2ansi(char chr, char attr)
{
static const char ansi_char[8] = "04261537";