This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[PATCH][egcs-1990328] duplicate #includes
- To: egcs-bugs at egcs dot cygnus dot com
- Subject: [PATCH][egcs-1990328] duplicate #includes
- From: John Bley <jbb6 at acpub dot duke dot edu>
- Date: Tue, 30 Mar 1999 14:06:21 -0500 (EST)
* Strip some duplicate #includes (John Bley, jbb6@acpub.duke.edu)
--
John Bley - jbb6@acpub.duke.edu
Duke '99 - English/Computer Science
Since English is a mess, it maps well onto the problem space,
which is also a mess, which we call reality. - Larry Wall
diff -Burp egcs-19990328/gcc/cp/except.c egcs-19990328-patched/gcc/cp/except.c
--- egcs-19990328/gcc/cp/except.c Fri Mar 26 02:44:28 1999
+++ egcs-19990328-patched/gcc/cp/except.c Tue Mar 30 13:44:44 1999
@@ -97,7 +97,6 @@ asm (TEXT_SECTION_ASM_OP);
#include "decl.h"
#include "insn-flags.h"
-#include "obstack.h"
/* ======================================================================
Briefly the algorithm works like this:
diff -Burp egcs-19990328/gcc/profile.c egcs-19990328-patched/gcc/profile.c
--- egcs-19990328/gcc/profile.c Tue Jan 26 20:42:35 1999
+++ egcs-19990328-patched/gcc/profile.c Tue Mar 30 13:44:29 1999
@@ -50,7 +50,6 @@ Boston, MA 02111-1307, USA. */
#include "output.h"
#include "regs.h"
#include "tree.h"
-#include "output.h"
#include "gcov-io.h"
#include "toplev.h"
diff -Burp egcs-19990328/libf2c/libU77/fgetc_.c egcs-19990328-patched/libf2c/libU77/fgetc_.c
--- egcs-19990328/libf2c/libU77/fgetc_.c Sat Jan 31 20:37:08 1998
+++ egcs-19990328-patched/libf2c/libU77/fgetc_.c Tue Mar 30 13:45:17 1999
@@ -19,9 +19,6 @@ Boston, MA 02111-1307, USA. */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
#include <stdio.h>
#include "f2c.h"
#include "fio.h"
diff -Burp egcs-19990328/libf2c/libU77/fputc_.c egcs-19990328-patched/libf2c/libU77/fputc_.c
--- egcs-19990328/libf2c/libU77/fputc_.c Sat Jan 31 20:37:08 1998
+++ egcs-19990328-patched/libf2c/libU77/fputc_.c Tue Mar 30 13:45:26 1999
@@ -19,9 +19,6 @@ Boston, MA 02111-1307, USA. */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
#include <stdio.h>
#include "f2c.h"
#include "fio.h"
diff -Burp egcs-19990328/libf2c/libU77/fstat_.c egcs-19990328-patched/libf2c/libU77/fstat_.c
--- egcs-19990328/libf2c/libU77/fstat_.c Sat Jan 31 20:37:08 1998
+++ egcs-19990328-patched/libf2c/libU77/fstat_.c Tue Mar 30 13:45:38 1999
@@ -19,9 +19,6 @@ Boston, MA 02111-1307, USA. */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
#include "f2c.h"
#include <sys/types.h>
#include <sys/stat.h>
diff -Burp egcs-19990328/libf2c/libU77/getcwd_.c egcs-19990328-patched/libf2c/libU77/getcwd_.c
--- egcs-19990328/libf2c/libU77/getcwd_.c Sat Jan 31 20:37:08 1998
+++ egcs-19990328-patched/libf2c/libU77/getcwd_.c Tue Mar 30 13:45:53 1999
@@ -26,7 +26,6 @@ Boston, MA 02111-1307, USA. */
# include <strings.h>
#endif
#include <stdio.h> /* for NULL */
-#include <errno.h> /* for ENOSYS */
#include "f2c.h"
#if HAVE_GETCWD
diff -Burp egcs-19990328/libf2c/libU77/link_.c egcs-19990328-patched/libf2c/libU77/link_.c
--- egcs-19990328/libf2c/libU77/link_.c Sat Jan 31 20:37:08 1998
+++ egcs-19990328-patched/libf2c/libU77/link_.c Tue Mar 30 13:46:05 1999
@@ -31,7 +31,6 @@ Boston, MA 02111-1307, USA. */
#if HAVE_SYS_PARAM_H
# include <sys/param.h>
#endif
-#include <errno.h> /* for ENOSYS */
#include "f2c.h"
#ifdef KR_headers