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.
This commit is contained in:
John "Elwin" Edwards 2015-08-12 17:03:15 -04:00
parent 9c93a66db7
commit 916a683bf6

View file

@ -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()
{