# HG changeset patch # User John "Elwin" Edwards # Date 1439413395 14400 # Node ID e69128d2e4c5dd685967cee5672d56a2e33cb56a # Parent 6fb21004a98139054393dfa11f57d0bdbdab8ed4 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. diff -r 6fb21004a981 -r e69128d2e4c5 arogue7/mdport.c --- a/arogue7/mdport.c Wed Aug 12 16:56:19 2015 -0400 +++ b/arogue7/mdport.c Wed Aug 12 17:03:15 2015 -0400 @@ -92,18 +92,6 @@ #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 @@ return(homedir); } -int -md_sleep(int s) -{ -#ifdef _WIN32 - _sleep(s); -#else - sleep(s); -#endif -} - char * md_getshell() {