From 916a683bf6fcea1210cf42a1d07da41144b15f3d Mon Sep 17 00:00:00 2001 From: "John \"Elwin\" Edwards" Date: Wed, 12 Aug 2015 17:03:15 -0400 Subject: [PATCH] Advanced Rogue 7: remove some unused md_ functions. md_hasclreol() and md_sleep() were not actually portable. If they were needed in the future, fixing them would be possible. --- arogue7/mdport.c | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/arogue7/mdport.c b/arogue7/mdport.c index 6b2bcb2..2b519b5 100644 --- a/arogue7/mdport.c +++ b/arogue7/mdport.c @@ -92,18 +92,6 @@ md_init() #endif } -int -md_hasclreol() -{ -#ifndef attron - return(!CE); -#elif !defined(__PDCURSES__) - return(clr_eol != NULL); -#else - return(TRUE); -#endif -} - #ifdef attron # define _puts(s) tputs(s, 0, md_putchar); # define SO enter_standout_mode @@ -309,16 +297,6 @@ md_gethomedir() return(homedir); } -int -md_sleep(int s) -{ -#ifdef _WIN32 - _sleep(s); -#else - sleep(s); -#endif -} - char * md_getshell() {