diff options
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/alpha/alpha.c | 2 | ||||
-rw-r--r-- | gcc/config/arm/arm.c | 2 | ||||
-rwxr-xr-x | gcc/config/avr/driver-avr.c | 3 | ||||
-rw-r--r-- | gcc/config/frv/frv.c | 1 | ||||
-rw-r--r-- | gcc/config/host-darwin.c | 3 | ||||
-rw-r--r-- | gcc/config/host-hpux.c | 8 | ||||
-rw-r--r-- | gcc/config/host-linux.c | 4 | ||||
-rw-r--r-- | gcc/config/host-solaris.c | 1 | ||||
-rw-r--r-- | gcc/config/i386/cygming.h | 2 | ||||
-rw-r--r-- | gcc/config/i386/driver-i386.c | 1 | ||||
-rw-r--r-- | gcc/config/i386/host-cygwin.c | 3 | ||||
-rw-r--r-- | gcc/config/iq2000/iq2000.c | 1 | ||||
-rw-r--r-- | gcc/config/m32c/m32c-pragma.c | 3 | ||||
-rw-r--r-- | gcc/config/m68hc11/m68hc11.c | 1 | ||||
-rw-r--r-- | gcc/config/mep/mep-pragma.c | 3 | ||||
-rw-r--r-- | gcc/config/microblaze/microblaze.c | 1 | ||||
-rw-r--r-- | gcc/config/mips/mips.c | 1 | ||||
-rw-r--r-- | gcc/config/rs6000/host-darwin.c | 3 |
18 files changed, 10 insertions, 33 deletions
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index eb35367f9f6..1ecd2c4d70f 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -50,7 +50,7 @@ along with GCC; see the file COPYING3. If not see #include "target-def.h" #include "debug.h" #include "langhooks.h" -#include <splay-tree.h> +#include "splay-tree.h" #include "cfglayout.h" #include "gimple.h" #include "tree-flow.h" diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index f9fbb197a8b..53a847d7615 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -1364,7 +1364,7 @@ arm_target_help (void) { const char *p; - GET_ENVIRONMENT (p, "COLUMNS"); + p = getenv ("COLUMNS"); if (p != NULL) { int value = atoi (p); diff --git a/gcc/config/avr/driver-avr.c b/gcc/config/avr/driver-avr.c index 55af6516d29..6ab0bb822ef 100755 --- a/gcc/config/avr/driver-avr.c +++ b/gcc/config/avr/driver-avr.c @@ -1,5 +1,5 @@ /* Subroutines for the gcc driver. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009, 2010 Free Software Foundation, Inc. Contributed by Anatoly Sokolov <aesok@post.ru> This file is part of GCC. @@ -22,7 +22,6 @@ along with GCC; see the file COPYING3. If not see #include "system.h" #include "coretypes.h" #include "tm.h" -#include <stdlib.h> /* Current architecture. */ const struct base_arch_s *avr_current_arch = NULL; diff --git a/gcc/config/frv/frv.c b/gcc/config/frv/frv.c index 5003bb7d6eb..f8653c761e0 100644 --- a/gcc/config/frv/frv.c +++ b/gcc/config/frv/frv.c @@ -44,7 +44,6 @@ along with GCC; see the file COPYING3. If not see #include "basic-block.h" #include "tm_p.h" #include "ggc.h" -#include <ctype.h> #include "target.h" #include "target-def.h" #include "targhooks.h" diff --git a/gcc/config/host-darwin.c b/gcc/config/host-darwin.c index 223abb89968..3fd0a71c33e 100644 --- a/gcc/config/host-darwin.c +++ b/gcc/config/host-darwin.c @@ -1,5 +1,5 @@ /* Darwin host-specific hook definitions. - Copyright (C) 2003, 2004, 2005, 2007 Free Software Foundation, Inc. + Copyright (C) 2003, 2004, 2005, 2007, 2010 Free Software Foundation, Inc. This file is part of GCC. @@ -20,7 +20,6 @@ #include "config.h" #include "system.h" #include "coretypes.h" -#include <sys/mman.h> #include "diagnostic-core.h" #include "toplev.h" #include "config/host-darwin.h" diff --git a/gcc/config/host-hpux.c b/gcc/config/host-hpux.c index 6fe2b5537dd..00adfcf9b5b 100644 --- a/gcc/config/host-hpux.c +++ b/gcc/config/host-hpux.c @@ -1,5 +1,5 @@ /* HP-UX host-specific hook definitions. - Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc. + Copyright (C) 2004, 2005, 2007, 2010 Free Software Foundation, Inc. This file is part of GCC. @@ -20,15 +20,9 @@ #include "config.h" #include "system.h" #include "coretypes.h" -#include <sys/mman.h> -#include <unistd.h> #include "hosthooks.h" #include "hosthooks-def.h" -#ifndef MAP_FAILED -#define MAP_FAILED (void *)-1L -#endif - static void *hpux_gt_pch_get_address (size_t, int); static int hpux_gt_pch_use_address (void *, size_t, int, size_t); diff --git a/gcc/config/host-linux.c b/gcc/config/host-linux.c index 9f6ef0a1319..47ce3ea90a7 100644 --- a/gcc/config/host-linux.c +++ b/gcc/config/host-linux.c @@ -1,5 +1,5 @@ /* Linux host-specific hook definitions. - Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. + Copyright (C) 2004, 2005, 2007, 2008, 2010 Free Software Foundation, Inc. This file is part of GCC. @@ -20,8 +20,6 @@ #include "config.h" #include "system.h" #include "coretypes.h" -#include <sys/mman.h> -#include <limits.h> #include "hosthooks.h" #include "hosthooks-def.h" diff --git a/gcc/config/host-solaris.c b/gcc/config/host-solaris.c index 835832b9c21..12eab3c61b8 100644 --- a/gcc/config/host-solaris.c +++ b/gcc/config/host-solaris.c @@ -20,7 +20,6 @@ #include "config.h" #include "system.h" #include "coretypes.h" -#include <sys/mman.h> #include "hosthooks.h" #include "hosthooks-def.h" diff --git a/gcc/config/i386/cygming.h b/gcc/config/i386/cygming.h index 28c3082bd59..733c7c79a37 100644 --- a/gcc/config/i386/cygming.h +++ b/gcc/config/i386/cygming.h @@ -118,8 +118,6 @@ along with GCC; see the file COPYING3. If not see #define TARGET_EXECUTABLE_SUFFIX ".exe" -#include <stdio.h> - #define TARGET_OS_CPP_BUILTINS() \ do \ { \ diff --git a/gcc/config/i386/driver-i386.c b/gcc/config/i386/driver-i386.c index 0e13162485e..bf7ec0c81a3 100644 --- a/gcc/config/i386/driver-i386.c +++ b/gcc/config/i386/driver-i386.c @@ -21,7 +21,6 @@ along with GCC; see the file COPYING3. If not see #include "system.h" #include "coretypes.h" #include "tm.h" -#include <stdlib.h> const char *host_detect_local_cpu (int argc, const char **argv); diff --git a/gcc/config/i386/host-cygwin.c b/gcc/config/i386/host-cygwin.c index ac699b3bf01..8510bde125e 100644 --- a/gcc/config/i386/host-cygwin.c +++ b/gcc/config/i386/host-cygwin.c @@ -1,5 +1,5 @@ /* Cygwin host-specific hook definitions. - Copyright (C) 2004, 2007 Free Software Foundation, Inc. + Copyright (C) 2004, 2007, 2010 Free Software Foundation, Inc. This file is part of GCC. @@ -20,7 +20,6 @@ #include "config.h" #include "system.h" #include "coretypes.h" -#include <sys/mman.h> #include "hosthooks.h" #include "hosthooks-def.h" #include "toplev.h" diff --git a/gcc/config/iq2000/iq2000.c b/gcc/config/iq2000/iq2000.c index 433af644def..cc4c80f2836 100644 --- a/gcc/config/iq2000/iq2000.c +++ b/gcc/config/iq2000/iq2000.c @@ -21,7 +21,6 @@ along with GCC; see the file COPYING3. If not see #include "config.h" #include "system.h" #include "coretypes.h" -#include <signal.h> #include "tm.h" #include "tree.h" #include "rtl.h" diff --git a/gcc/config/m32c/m32c-pragma.c b/gcc/config/m32c/m32c-pragma.c index f3f1ca9dea0..fda6a6b54a3 100644 --- a/gcc/config/m32c/m32c-pragma.c +++ b/gcc/config/m32c/m32c-pragma.c @@ -1,5 +1,5 @@ /* M32C Pragma support - Copyright (C) 2004, 2007 Free Software Foundation, Inc. + Copyright (C) 2004, 2007, 2010 Free Software Foundation, Inc. Contributed by Red Hat, Inc. This file is part of GCC. @@ -18,7 +18,6 @@ along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>. */ -#include <stdio.h> #include "config.h" #include "system.h" #include "coretypes.h" diff --git a/gcc/config/m68hc11/m68hc11.c b/gcc/config/m68hc11/m68hc11.c index f8a67ba779e..00d409e8aac 100644 --- a/gcc/config/m68hc11/m68hc11.c +++ b/gcc/config/m68hc11/m68hc11.c @@ -32,7 +32,6 @@ Note: */ -#include <stdio.h> #include "config.h" #include "system.h" #include "coretypes.h" diff --git a/gcc/config/mep/mep-pragma.c b/gcc/config/mep/mep-pragma.c index 1c9651a0699..1e37403c779 100644 --- a/gcc/config/mep/mep-pragma.c +++ b/gcc/config/mep/mep-pragma.c @@ -1,5 +1,5 @@ /* Definitions of Toshiba Media Processor - Copyright (C) 2001, 2002, 2003, 2005, 2006, 2007, 2009 Free + Copyright (C) 2001, 2002, 2003, 2005, 2006, 2007, 2009, 2010 Free Software Foundation, Inc. Contributed by Red Hat, Inc. This file is part of GCC. @@ -18,7 +18,6 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>. */ -#include <stdio.h> #include "config.h" #include "system.h" #include "coretypes.h" diff --git a/gcc/config/microblaze/microblaze.c b/gcc/config/microblaze/microblaze.c index efa000c49c0..2cd28fc8932 100644 --- a/gcc/config/microblaze/microblaze.c +++ b/gcc/config/microblaze/microblaze.c @@ -22,7 +22,6 @@ #include "config.h" #include "system.h" #include "coretypes.h" -#include <signal.h> #include "tm.h" #include "rtl.h" #include "regs.h" diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 23907b68b93..7e7e428d17f 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -27,7 +27,6 @@ along with GCC; see the file COPYING3. If not see #include "system.h" #include "coretypes.h" #include "tm.h" -#include <signal.h> #include "rtl.h" #include "regs.h" #include "hard-reg-set.h" diff --git a/gcc/config/rs6000/host-darwin.c b/gcc/config/rs6000/host-darwin.c index 333f4884e1b..ca1f6bbb229 100644 --- a/gcc/config/rs6000/host-darwin.c +++ b/gcc/config/rs6000/host-darwin.c @@ -1,5 +1,5 @@ /* Darwin/powerpc host-specific hook definitions. - Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 + Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2010 Free Software Foundation, Inc. This file is part of GCC. @@ -21,7 +21,6 @@ #include "config.h" #include "system.h" #include "coretypes.h" -#include <signal.h> #include <sys/ucontext.h> #include "hosthooks.h" #include "hosthooks-def.h" |