aboutsummaryrefslogtreecommitdiffstats
path: root/com32/cmenu
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@mouraf.org>2009-08-28 22:28:05 -0700
committerPierre-Alexandre Meyer <pierre@mouraf.org>2009-09-01 11:43:38 -0700
commitd814ac9c636376ba06e9796d190bd427a4cbee72 (patch)
tree8b011feaa4d35cd83d3cff3e21a44b411b18c430 /com32/cmenu
parentba30de7fcf3e0547864521e71ab3116f6f194be3 (diff)
downloadsyslinux-d814ac9c636376ba06e9796d190bd427a4cbee72.tar.gz
syslinux-d814ac9c636376ba06e9796d190bd427a4cbee72.tar.xz
syslinux-d814ac9c636376ba06e9796d190bd427a4cbee72.zip
cmenu: build cleanups
Fix build warnings and remove old cls declaration. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Diffstat (limited to 'com32/cmenu')
-rw-r--r--com32/cmenu/libmenu/tui.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/com32/cmenu/libmenu/tui.c b/com32/cmenu/libmenu/tui.c
index c8461ed3..c9b70f3f 100644
--- a/com32/cmenu/libmenu/tui.c
+++ b/com32/cmenu/libmenu/tui.c
@@ -14,6 +14,7 @@
#include <string.h>
#include <com32.h>
#include <stdlib.h>
+#include "com32io.h"
com32sys_t inreg, outreg; // Global register sets for use
@@ -258,13 +259,6 @@ void clearwindow(char top, char left, char bot, char right, char page,
}
}
-void cls(void)
-{
- unsigned char dp = getdisppage();
- gotoxy(0, 0, dp);
- cprint(' ', GETSTRATTR, (1 + getnumrows()) * getnumcols(), dp);
-}
-
//////////////////////////////Box Stuff
// This order of numbers must match