dthelp: Convert all K&R function definitions to ANSI (C90) standard

This commit is contained in:
Peter Howkins
2018-06-24 00:50:56 +01:00
parent f89139dd84
commit 5aa1fed48b
172 changed files with 547 additions and 1308 deletions

View File

@@ -35,9 +35,7 @@ void m_exit(int status);
void m_openchk(FILE **ptr, char *name, char *mode);
/* Open a file and check that the open succeeded */
void m_openchk(ptr, name, mode)
FILE **ptr ;
char *name, *mode ;
void m_openchk(FILE **ptr, char *name, char *mode)
{
*ptr = fopen(name, mode) ;
if (*ptr) return ;