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

@@ -31,9 +31,7 @@ char *m_itoa(int n, char *s);
void reverse(char *s);
char *m_itoa(n, s) /* convert n to characters in s */
char s[];
int n;
char *m_itoa(int n, char *s) /* convert n to characters in s */
{
int sign ;
char *p = s ;
@@ -51,8 +49,7 @@ int n;
return(s) ;
}
void reverse(s)
char s[];
void reverse(char s[])
{
int c, i, j;