aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppmain.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1998-03-30 12:05:54 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1998-03-30 12:05:54 +0000
commitb04cd50711e40415a169d0f157e4ab15c5344384 (patch)
tree89dd65e70bf50b33a26d779913cd79c789b77b0b /gcc/cppmain.c
parent1aa5d112c8397e861eea2cbfba02c7e8f1ffae97 (diff)
downloadgcc-b04cd50711e40415a169d0f157e4ab15c5344384.zip
gcc-b04cd50711e40415a169d0f157e4ab15c5344384.tar.gz
gcc-b04cd50711e40415a169d0f157e4ab15c5344384.tar.bz2
More cutover to system.h:
* Makefile.in (cppalloc.o, cpperror.o, cppexp.o, cpphash.o, cpplib.o, cppmain.o, fix-header.o, gcov.o, gen-protos.o, gengenrtl.o, halfpic.o, hash.o, scan-decls.o, scan.o): Depend on system.h. * cpphash.c: Include config.h. * cppalloc.c: Include system.h. Add parameters to various function prototypes. * cpperror.c: Likewise. * cppexp.c: Likewise. * cpphash.c: Likewise. * cpplib.c: Likewise. * cppmain.c: Likewise. * fix-header.c: Likewise. * gcov.c: Likewise. * gen-protos.c: Likewise. * gengenrtl.c: Likewise. * halfpic.c: Likewise. * hash.c: Likewise. * scan-decls.c: Likewise. * scan.c: Likewise. From-SVN: r18911
Diffstat (limited to 'gcc/cppmain.c')
-rw-r--r--gcc/cppmain.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/gcc/cppmain.c b/gcc/cppmain.c
index 4f8d89c..d4b27da 100644
--- a/gcc/cppmain.c
+++ b/gcc/cppmain.c
@@ -1,5 +1,5 @@
/* CPP main program, using CPP Library.
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1997 Free Software Foundation, Inc.
Written by Per Bothner, 1994-95.
This program is free software; you can redistribute it and/or modify it
@@ -20,14 +20,16 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
You are forbidden to forbid anyone else to use, share and improve
what you give them. Help stamp out software-hoarding! */
-#include "cpplib.h"
-#include <stdio.h>
-
#ifndef EMACS
#include "config.h"
-#endif /* not EMACS */
+#include "system.h"
+#else
+#include <stdio.h>
extern char *getenv ();
+#endif /* not EMACS */
+
+#include "cpplib.h"
char *progname;