Replaced plain 0's and 1's in exit statements with EXIT_SUCCESS or EXIT_FAILURE
This commit is contained in:
@@ -16,7 +16,7 @@ const graphicStr Table = {
|
||||
|
||||
void Exit(void)
|
||||
{
|
||||
exit(0);
|
||||
exit(EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
void Menu = {
|
||||
|
||||
@@ -26,7 +26,7 @@ void main (void)
|
||||
// MainLoop();
|
||||
// we can do:
|
||||
// (nothing as this is the end of main function)
|
||||
// exit(0);
|
||||
// exit(EXIT_SUCCESS);
|
||||
// return;
|
||||
|
||||
return;
|
||||
|
||||
@@ -44,7 +44,7 @@ void main (void)
|
||||
// MainLoop();
|
||||
// we can do:
|
||||
// (nothing as this is the end of main function)
|
||||
// exit(0);
|
||||
// exit(EXIT_SUCCESS);
|
||||
// return;
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user