diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1998-04-06 14:01:33 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1998-04-06 14:01:33 +0000 |
commit | 944fc8abefc438b7087db07cdf81c1bbcb0faf26 (patch) | |
tree | 705fdf7fa2c894b86921a9d5b3c46a2bd38525cb /gcc/c-parse.c | |
parent | 3286ab57366ae3422fdacff3c2e605ea81a29c44 (diff) | |
download | gcc-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.c')
-rw-r--r-- | gcc/c-parse.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/gcc/c-parse.c b/gcc/c-parse.c index 9b47327..8777295 100644 --- a/gcc/c-parse.c +++ b/gcc/c-parse.c @@ -68,9 +68,7 @@ #line 56 "c-parse.y" #include "config.h" - -#include <stdio.h> -#include <errno.h> +#include "system.h" #include <setjmp.h> #include "tree.h" @@ -81,7 +79,6 @@ #include "output.h" #ifdef MULTIBYTE_CHARS -#include <stdlib.h> #include <locale.h> #endif @@ -90,10 +87,6 @@ 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; } |