Prefer exit(0) from main over return(0).
Although not explicitly mentioned in style(9), it allows for easier grepping of exit points. This reverts part of r203926. Requested by: des Approved by: philip (mentor)
This commit is contained in:
parent
2e1facf96f
commit
cd6ceabc3d
@ -216,7 +216,7 @@ main(int argc, char *argv[])
|
|||||||
sleep((unsigned int) max(Fort_len / CPERS, MINW));
|
sleep((unsigned int) max(Fort_len / CPERS, MINW));
|
||||||
}
|
}
|
||||||
|
|
||||||
return (0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user