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:
parent
9c93a66db7
commit
916a683bf6
1 changed files with 0 additions and 22 deletions
|
|
@ -92,18 +92,6 @@ md_init()
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
|
||||||
md_hasclreol()
|
|
||||||
{
|
|
||||||
#ifndef attron
|
|
||||||
return(!CE);
|
|
||||||
#elif !defined(__PDCURSES__)
|
|
||||||
return(clr_eol != NULL);
|
|
||||||
#else
|
|
||||||
return(TRUE);
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef attron
|
#ifdef attron
|
||||||
# define _puts(s) tputs(s, 0, md_putchar);
|
# define _puts(s) tputs(s, 0, md_putchar);
|
||||||
# define SO enter_standout_mode
|
# define SO enter_standout_mode
|
||||||
|
|
@ -309,16 +297,6 @@ md_gethomedir()
|
||||||
return(homedir);
|
return(homedir);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
|
||||||
md_sleep(int s)
|
|
||||||
{
|
|
||||||
#ifdef _WIN32
|
|
||||||
_sleep(s);
|
|
||||||
#else
|
|
||||||
sleep(s);
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
char *
|
char *
|
||||||
md_getshell()
|
md_getshell()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue