Always return a value from main().

Previously, there were bare "return;" statements in some places, even though main() was declared as returning int. This is disallowed by C99 and later, and ORCA/C now complains about it when using full lint checks.
This commit is contained in:
Stephen Heumann 2020-02-07 14:34:10 -06:00
parent 284bc29594
commit 695d13e159

View File

@ -156,11 +156,10 @@ int main(void) {
/* Accept requests (notifications) from Marinetti */
AcceptRequests(TCPIP_REQUEST_NAME, userid(), &tcpipRequestProc);
return;
return 0;
error:
setUnloadFlag();
return;
}
/*