Excise md_putchar().

The function wrapped the standard putchar(), doing nothing beside
discarding the return value.  That could cause problems with tputs(),
which expects an int to be returned.
This commit is contained in:
John "Elwin" Edwards 2017-09-18 19:11:57 -04:00
parent 3349419ebc
commit 0936c8f216
7 changed files with 11 additions and 53 deletions

View file

@ -95,17 +95,11 @@ md_init(void)
}
#ifdef attron
# define _puts(s) tputs(s, 0, md_putchar);
# define _puts(s) tputs(s, 0, putchar);
# define SO enter_standout_mode
# define SE exit_standout_mode
#endif
int
md_putchar(int c)
{
putchar(c);
}
static int md_standout_mode = 0;
int