aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-05-16 17:59:49 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-05-16 17:59:49 -0400
commit299846f2e7f5c81ba846d0740b18fd4291286051 (patch)
treea07f033f6931487c21a80981bf8cb1159fe00d20 /gcc
parentbbcffef3ad0a019ae4598d3c14cfc6872b9673f7 (diff)
downloadgcc-299846f2e7f5c81ba846d0740b18fd4291286051.zip
gcc-299846f2e7f5c81ba846d0740b18fd4291286051.tar.gz
gcc-299846f2e7f5c81ba846d0740b18fd4291286051.tar.bz2
(pfatal_with_name, fatal_io_error, vfatal): Use FATAL_EXIT_CODE
instead of magic number. From-SVN: r9723
Diffstat (limited to 'gcc')
-rw-r--r--gcc/toplev.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index ada67c3..eaa4651 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -873,7 +873,7 @@ pfatal_with_name (name)
{
fprintf (stderr, "%s: ", progname);
perror (name);
- exit (35);
+ exit (FATAL_EXIT_CODE);
}
void
@@ -881,7 +881,7 @@ fatal_io_error (name)
char *name;
{
fprintf (stderr, "%s: %s: I/O error\n", progname, name);
- exit (35);
+ exit (FATAL_EXIT_CODE);
}
/* Called to give a better error message for a bad insn rather than
@@ -1348,7 +1348,7 @@ vfatal (s, ap)
va_list ap;
{
verror (s, ap);
- exit (34);
+ exit (FATAL_EXIT_CODE);
}
void
@@ -3939,7 +3939,7 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE!
if (sorrycount)
exit (FATAL_EXIT_CODE);
exit (SUCCESS_EXIT_CODE);
- return 34;
+ return 0;
}
/* Decode -m switches. */