diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-04-06 14:01:33 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-04-06 14:01:33 +0000 |
commit | 922479330da4e69c21f009c322c425bcf490715a (patch) | |
tree | 705fdf7fa2c894b86921a9d5b3c46a2bd38525cb /gcc/c-parse.y | |
parent | cd5ffd887e5678a166dc4cf1f1e3c76e26ec321d (diff) |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19020 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-parse.y')
-rw-r--r-- | gcc/c-parse.y | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/gcc/c-parse.y b/gcc/c-parse.y index ac9138df393..aba326d02b9 100644 --- a/gcc/c-parse.y +++ b/gcc/c-parse.y @@ -55,9 +55,7 @@ State 434 contains 2 shift/reduce conflicts. (Four ways to parse this.) */ %{ #include "config.h" - -#include <stdio.h> -#include <errno.h> +#include "system.h" #include <setjmp.h> #include "tree.h" @@ -68,7 +66,6 @@ State 434 contains 2 shift/reduce conflicts. (Four ways to parse this.) */ #include "output.h" #ifdef MULTIBYTE_CHARS -#include <stdlib.h> #include <locale.h> #endif @@ -77,10 +74,6 @@ State 434 contains 2 shift/reduce conflicts. (Four ways to parse this.) */ definition here. */ char *language_string = "GNU C"; -#ifndef errno -extern int errno; -#endif - /* Like YYERROR but do call yyerror. */ #define YYERROR1 { yyerror ("syntax error"); YYERROR; } |