aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-parse.in
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1998-04-06 14:01:33 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1998-04-06 14:01:33 +0000
commit944fc8abefc438b7087db07cdf81c1bbcb0faf26 (patch)
tree705fdf7fa2c894b86921a9d5b3c46a2bd38525cb /gcc/c-parse.in
parent3286ab57366ae3422fdacff3c2e605ea81a29c44 (diff)
downloadgcc-944fc8abefc438b7087db07cdf81c1bbcb0faf26.zip
gcc-944fc8abefc438b7087db07cdf81c1bbcb0faf26.tar.gz
gcc-944fc8abefc438b7087db07cdf81c1bbcb0faf26.tar.bz2
More system.h cutover patches:
* c-parse.in: Include system.h, and remove stuff now made redundant. * cccp.c: Likewise. * cexp.y: Likewise. * protoize.c: Likewise. Properly check for cpp stringification. * Makefile.in (c-parse.o, cccp.o, cexp.o, protoize.o, unprotoize.o): Depend on system.h. * objc/Make-lang.in (objc-parse.o): Likewise. From-SVN: r19020
Diffstat (limited to 'gcc/c-parse.in')
-rw-r--r--gcc/c-parse.in9
1 files changed, 1 insertions, 8 deletions
diff --git a/gcc/c-parse.in b/gcc/c-parse.in
index 76e7ca9..fbfa994 100644
--- a/gcc/c-parse.in
+++ b/gcc/c-parse.in
@@ -59,9 +59,7 @@ end ifc
%{
#include "config.h"
-
-#include <stdio.h>
-#include <errno.h>
+#include "system.h"
#include <setjmp.h>
#include "tree.h"
@@ -72,7 +70,6 @@ end ifc
#include "output.h"
#ifdef MULTIBYTE_CHARS
-#include <stdlib.h>
#include <locale.h>
#endif
@@ -89,10 +86,6 @@ ifc
char *language_string = "GNU C";
end ifc
-#ifndef errno
-extern int errno;
-#endif
-
/* Like YYERROR but do call yyerror. */
#define YYERROR1 { yyerror ("syntax error"); YYERROR; }