- use EXIT_{SUCCESS,FAILURE}. No object-code changes

This commit is contained in:
Bernhard Reutner-Fischer
2008-05-19 09:29:47 +00:00
parent cb83abd7b6
commit 636a1f85e8
45 changed files with 85 additions and 85 deletions

View File

@@ -45,7 +45,7 @@ main (argc, argv)
{
for (envp = environ; *envp; envp++)
puts (*envp);
exit (0);
exit(EXIT_SUCCESS);
}
/* printenv varname */
@@ -59,9 +59,9 @@ main (argc, argv)
if (*eval == '=')
{
puts (eval + 1);
exit (0);
exit(EXIT_SUCCESS);
}
}
}
exit (1);
exit(EXIT_FAILURE);
}