aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppmain.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@wolery.cumb.org>2000-02-06 07:30:25 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-02-06 07:30:25 +0000
commit40ea76de513e2bd7388dfaf144c5c9f68f53afad (patch)
tree4302b34cfa658453c0f2005d1fc2b74f7da47536 /gcc/cppmain.c
parentfd81d24f991f53d3cdd71e482e6d83f351e1759d (diff)
downloadgcc-40ea76de513e2bd7388dfaf144c5c9f68f53afad.zip
gcc-40ea76de513e2bd7388dfaf144c5c9f68f53afad.tar.gz
gcc-40ea76de513e2bd7388dfaf144c5c9f68f53afad.tar.bz2
cpperror.c: Remove #ifdef EMACS block.
* cpperror.c: Remove #ifdef EMACS block. * cppmain.c: Likewise. * cpphash.c: Remove #if 0 blocks. * cppinit.c: Remove #if 0 blocks, and the -lint option. * cpplib.c: Remove #if 0 blocks and code referencing pcp_inside_if or for_lint. Remove duplicate error message. Fix error messages for #else after #else or #elif. Reformat. Remove archaic TODO list. * cpplib.h: Remove pcp_inside_if and for_lint flags. From-SVN: r31817
Diffstat (limited to 'gcc/cppmain.c')
-rw-r--r--gcc/cppmain.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/gcc/cppmain.c b/gcc/cppmain.c
index 2e31fae..b7bfee5 100644
--- a/gcc/cppmain.c
+++ b/gcc/cppmain.c
@@ -1,5 +1,5 @@
/* CPP main program, using CPP Library.
- Copyright (C) 1995, 1997, 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1997-1999, 2000 Free Software Foundation, Inc.
Written by Per Bothner, 1994-95.
This program is free software; you can redistribute it and/or modify it
@@ -20,15 +20,8 @@ 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! */
-#ifndef EMACS
#include "config.h"
#include "system.h"
-#else
-#include <stdio.h>
-
-extern char *getenv ();
-#endif /* not EMACS */
-
#include "cpplib.h"
#include "intl.h"