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

@@ -15,12 +15,12 @@
#define abort() exit()
#endif
#ifdef VMS
extern void NDECL(vms_abort);
extern void vms_abort(void);
#endif
/*VARARGS1*/
boolean panicking;
void VDECL(panic, (const char *, ...));
void panic(const char *, ...);
void panic
VA_DECL(const char *, str)
@@ -53,8 +53,7 @@ VA_DECL(const char *, str)
* systems, but they should either use yacc or get a real alloca routine.
*/
long *
alloca(cnt)
unsigned cnt;
alloca(unsigned int cnt)
{
return cnt ? alloc(cnt) : (long *) 0;
}