switch source tree from k&r to c99

This commit is contained in:
nhmall
2021-01-26 21:06:16 -05:00
parent a2a9cb7b4f
commit f963c5aca7
232 changed files with 12099 additions and 17782 deletions

View File

@@ -75,17 +75,17 @@ struct termio termio;
#endif
#ifdef _M_UNIX
extern void NDECL(sco_mapon);
extern void NDECL(sco_mapoff);
extern void sco_mapon(void);
extern void sco_mapoff(void);
#endif
#ifdef __linux__
extern void NDECL(linux_mapon);
extern void NDECL(linux_mapoff);
extern void linux_mapon(void);
extern void linux_mapoff(void);
#endif
#ifdef AUX
void
catch_stp()
catch_stp(void)
{
signal(SIGTSTP, SIG_DFL);
dosuspend();
@@ -93,7 +93,7 @@ catch_stp()
#endif /* AUX */
void
getwindowsz()
getwindowsz(void)
{
#ifdef USE_WIN_IOCTL
/*
@@ -116,7 +116,7 @@ getwindowsz()
}
void
getioctls()
getioctls(void)
{
#ifdef BSD_JOB_CONTROL
(void) ioctl(fileno(stdin), (int) TIOCGLTC, (char *) &ltchars);
@@ -139,7 +139,7 @@ getioctls()
}
void
setioctls()
setioctls(void)
{
#ifdef BSD_JOB_CONTROL
(void) ioctl(fileno(stdin), (int) TIOCSLTC, (char *) &ltchars);
@@ -158,7 +158,7 @@ setioctls()
#ifdef SUSPEND /* No longer implies BSD */
int
dosuspend()
dosuspend(void)
{
#ifdef SYSCF
/* NB: check_user_string() is port-specific. */