Merge branch 'NetHack-3.6'

This commit is contained in:
nhmall
2019-10-06 09:16:23 -04:00
14 changed files with 91 additions and 87 deletions

View File

@@ -537,12 +537,14 @@ int x, y;
set_console_cursor(x, y);
}
void
/* same signature as 'putchar()' with potential failure result ignored */
int
xputc(ch)
char ch;
int ch;
{
set_console_cursor(ttyDisplay->curx, ttyDisplay->cury);
xputc_core(ch);
xputc_core((char) ch);
return 0;
}
void
@@ -550,7 +552,7 @@ xputs(s)
const char *s;
{
int k;
int slen = strlen(s);
int slen = (int) strlen(s);
if (ttyDisplay)
set_console_cursor(ttyDisplay->curx, ttyDisplay->cury);

View File

@@ -82,11 +82,11 @@ int mode;
return;
}
void
int
xputc(ch)
char ch;
int ch;
{
return;
return 0;
}
void