From d814ac9c636376ba06e9796d190bd427a4cbee72 Mon Sep 17 00:00:00 2001 From: Pierre-Alexandre Meyer Date: Fri, 28 Aug 2009 22:28:05 -0700 Subject: [PATCH] cmenu: build cleanups Fix build warnings and remove old cls declaration. Signed-off-by: Pierre-Alexandre Meyer --- com32/cmenu/libmenu/tui.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/com32/cmenu/libmenu/tui.c b/com32/cmenu/libmenu/tui.c index c8461ed..c9b70f3 100644 --- a/com32/cmenu/libmenu/tui.c +++ b/com32/cmenu/libmenu/tui.c @@ -14,6 +14,7 @@ #include #include #include +#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 -- 2.7.4