diff options
author | YamaArashi <shadow962@live.com> | 2016-02-14 16:49:50 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-02-14 16:49:50 -0800 |
commit | ee6378488b6ef2654dcbffaaf1319c415c552f27 (patch) | |
tree | 41b529246b852d42c7f4ba57670525f0680a670f /gcc/cppmain.c | |
parent | 30da3665d6f93871e0c6d362d2f6cd3246c79b0a (diff) |
fix md
Diffstat (limited to 'gcc/cppmain.c')
-rwxr-xr-x | gcc/cppmain.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/cppmain.c b/gcc/cppmain.c index 672c0f4..8323915 100755 --- a/gcc/cppmain.c +++ b/gcc/cppmain.c @@ -44,7 +44,7 @@ fatal (s) char *s; { fputs (s, stderr); - exit (FATAL_EXIT_CODE); + exit (EXIT_FAILURE); } void @@ -77,12 +77,12 @@ main (argc, argv) if (argi < argc && ! CPP_FATAL_ERRORS (&parse_in)) cpp_fatal (&parse_in, "Invalid option `%s'", argv[argi]); if (CPP_FATAL_ERRORS (&parse_in)) - exit (FATAL_EXIT_CODE); + exit (EXIT_FAILURE); parse_in.show_column = 1; if (! cpp_start_read (&parse_in, opts->in_fname)) - exit (FATAL_EXIT_CODE); + exit (EXIT_FAILURE); /* Now that we know the input file is valid, open the output. */ @@ -107,6 +107,6 @@ main (argc, argv) cpp_finish (&parse_in); if (parse_in.errors) - exit (FATAL_EXIT_CODE); - exit (SUCCESS_EXIT_CODE); + exit (EXIT_FAILURE); + exit (EXIT_SUCCESS); } |