1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-03 07:10:39 +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

@@ -86,7 +86,7 @@ extern int FrameBufferFd;
/************************************************************************/
#define URMAXCOMM 512
void error(char *cp)
int error(char *cp)
{
char *ptr;
if(device_before_raid()<0)
@@ -140,7 +140,7 @@ uraidloop:
fflush(stdin);
goto uraidloop;
}
return;
return (0);
}
@@ -172,7 +172,7 @@ stackcheck
2.if overflow, return T (not 0).
Otherwise, return F (0).
******************************************************************/
stackcheck()
int stackcheck()
{
#ifdef TRACE2
printf("TRACE:stackcheck()\n");