1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-04 15:43:04 +00:00

Fix missing return types on functions, convert some functions with always ignored results to void.

This commit is contained in:
Nick Briggs
2017-05-28 15:08:42 -07:00
parent 65ddb5a968
commit 691645d048
83 changed files with 587 additions and 549 deletions

View File

@@ -23,8 +23,9 @@ static char *id = "$Id: ldeether.c,v 1.3 2001/12/24 01:09:04 sybalsky Exp $ Copy
#ifdef NOETHER
/* No ethernet, so have a dummy here. */
main (argc, argv, argp) int argc; char **argv, **argp;
int main (int argc, char *argv[])
{
return(0);
}
#else
/* THERE -IS- AN ETHERNET */
@@ -97,7 +98,7 @@ char filetorun[30] = "lde";
main(argc, argv, envp) int argc; char **argv, **envp;
int main(int argc, char *argv[])
{
char Earg[30], Ename[30], **newargv;
int i;
@@ -284,8 +285,7 @@ newargv[i] = 0;
/* then execve the LDE executable */
execvp(filetorun, newargv);
perror(filetorun);
exit(1);
return(1);
}
#endif /* NOETHER */