changeset 202:e69128d2e4c5

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.
author John "Elwin" Edwards
date Wed, 12 Aug 2015 17:03:15 -0400
parents 6fb21004a981
children aa8e1fc62926
files arogue7/mdport.c
diffstat 1 files changed, 0 insertions(+), 22 deletions(-) [+]
line wrap: on
line diff
--- 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()
 {