OSDN Git Service

* system.h: Include "safe-ctype.h" instead of <safe-ctype.h>.
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Nov 2010 14:09:41 +0000 (14:09 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Nov 2010 14:09:41 +0000 (14:09 +0000)
commit967958e4fad8758d10ff13a848fea17a153f41f1
tree7546d2e8d80d8eb06c632d680bcbe09820689b95
parentfb093ce72e686507c735f41ee0c64f6cea488e63
* system.h: Include "safe-ctype.h" instead of <safe-ctype.h>.
Include <signal.h>, <sys/mman.h>, <sys/resource.h> and
<sys/times.h>.
(O_BINARY, SIGCHLD, MAP_FAILED, MAP_ANONYMOUS, kill):
Conditionally define.
(GET_ENVIRONMENT): Poison.
* configure.ac: Don't test for mincore.
* configure: Regenerate.
* config.in: Regenerate.
* collect2-aix.c: Don't include <sys/mman.h>.
* collect2.c: Don't include <signal.h>.
(SIGCHLD): Don't define.
(prefix_from_env): Use getenv instead of GET_ENVIRONMENT.
* config/alpha/alpha.c: Include "splay-tree.h" instead of
<splay-tree.h>.
* config/arm/arm.c (arm_target_help): Use getenv instead of
GET_ENVIRONMENT.
* config/avr/driver-avr.c: Don't include <stdlib.h>.
* config/frv/frv.c: Don't include <ctype.h>.
* config/host-darwin.c: Don't include <sys/mman.h>.
* config/host-hpux.c: Don't include <sys/mman.h> or <unistd.h>.
(MAP_FAILED): Don't define.
* config/host-linux.c: Don't include <sys/mman.h> or <limits.h>.
* config/host-solaris.c: Don't include <sys/mman.h>.
* config/i386/cygming.h: Don't include <stdio.h>.
* config/i386/driver-i386.c: Don't include <stdlib.h>.
* config/i386/host-cygwin.c: Don't include <sys/mman.h>.
* config/iq2000/iq2000.c: Don't include <signal.h>.
* config/m32c/m32c-pragma.c: Don't include <stdio.h>.
* config/m68hc11/m68hc11.c: Don't include <stdio.h>.
* config/mep/mep-pragma.c: Don't include <stdio.h>.
* config/microblaze/microblaze.c: Don't include <signal.h>.
* config/mips/mips.c: Don't include <signal.h>.
* config/rs6000/host-darwin.c: Don't include <signal.h>.
* cppdefault.c (cpp_relocated): Use getenv instead of
GET_ENVIRONMENT.
* defaults.h (GET_ENVIRONMENT): Don't define.
* et-forest.h: Don't include <ansidecl.h> or <stddef.h>.
* gcc.c: Don't include <signal.h>, <sys/mman.h> or <sys/types.h>.
(SIGCHLD, MAP_FAILED, kill): Don't define.
(process_command): Use getenv instead of GET_ENVIRONMENT.
* genhooks.c: Don't include <string.h>.
* ggc-common.c: Don't include <sys/resource.h>, <sys/mman.h> or
<sys/types.h>.
(MAP_FAILED): Don't define.
* ggc-page.c Don't include <sys/mman.h>.
(MAP_ANONYMOUS, MAP_FAILED): Don't define.
* ggc-zone.c: Don't include <sys/mman.h>.
(MAP_ANONYMOUS, MAP_FAILED): Don't define.
* graph.c: Include "config.h" instead of <config.h>.
* incpath.c (add_env_var_paths): Use getenv instead of
GET_ENVIRONMENT.
* lto-wrapper.c: Don't include <errno.h>, <signal.h> or
"libiberty.h".
(SIGCHLD, kill): Don't define.
* mips-tfile.c: Don't include <signal.h>.
* opts.c: Don't include <signal.h> or <sys/resource.h>.
(print_specific_help): Use getenv instead of GET_ENVIRONMENT.
* passes.c: Don't include <signal.h>, <sys/resource.h> or
<sys/times.h>.
* sparseset.h: Don't include <assert.h>.
* timevar.c: Don't include <sys/times.h> or <sys/resource.h>.
* tlink.c: Don't include "libiberty.h".
* toplev.c: Don't include <signal.h> or <sys/times.h>.
* tree-mudflap.c: Include "demangle.h" instead of <demangle.h>.
* tree-switch-conversion.c: Don't include <signal.h>.
* vmsdbgout.c: Don't include <errno.h> or <string.h>.

c-family:
* c-opts.c (check_deps_environment_vars): Use getenv instead of
GET_ENVIRONMENT.
* c-pch.c (O_BINARY): Don't define here.
* c-pragma.h: Include "cpplib.h" instead of <cpplib.h>.

fortran:
* gfortran.h (alloca): Don't include definitions.
(NULL): Don't define.

java:
* boehm.c: Include "config.h" instead of <config.h>.
* builtins.c: Don't include <stdarg.h>.
* class.c: Don't include "stdio.h".
(O_BINARY): Don't define here.
* jcf-depend.c: Don't include <assert.h>.
(jcf_dependency_set_dep_file, jcf_dependency_init,
jcf_dependency_write): Use gcc_assert.
* jcf-io.c (O_BINARY): Don't define here.
* jcf-path.c: Don't include "tm.h".
(jcf_path_init): Use getenv instead of GET_ENVIRONMENT.
* resource.c: Don't include "stdio.h".
(O_BINARY): Don't define here.
* verify-impl.c: Don't include <stdio.h>.

lto:
* lto-endian.h: Delete.
* lto-object.c: Don't include "libiberty.h".
(O_BINARY): Don't define.
* lto.c: Don't include "libiberty.h" or <sys/mman.h>.
(O_BINARY): Don't define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167241 138bc75d-0d04-0410-961f-82ee72b054a4
65 files changed:
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-opts.c
gcc/c-family/c-pch.c
gcc/c-family/c-pragma.h
gcc/collect2-aix.c
gcc/collect2.c
gcc/config.in
gcc/config/alpha/alpha.c
gcc/config/arm/arm.c
gcc/config/avr/driver-avr.c
gcc/config/frv/frv.c
gcc/config/host-darwin.c
gcc/config/host-hpux.c
gcc/config/host-linux.c
gcc/config/host-solaris.c
gcc/config/i386/cygming.h
gcc/config/i386/driver-i386.c
gcc/config/i386/host-cygwin.c
gcc/config/iq2000/iq2000.c
gcc/config/m32c/m32c-pragma.c
gcc/config/m68hc11/m68hc11.c
gcc/config/mep/mep-pragma.c
gcc/config/microblaze/microblaze.c
gcc/config/mips/mips.c
gcc/config/rs6000/host-darwin.c
gcc/configure
gcc/configure.ac
gcc/cppdefault.c
gcc/defaults.h
gcc/et-forest.h
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/gcc.c
gcc/genhooks.c
gcc/ggc-common.c
gcc/ggc-page.c
gcc/ggc-zone.c
gcc/graph.c
gcc/incpath.c
gcc/java/ChangeLog
gcc/java/boehm.c
gcc/java/builtins.c
gcc/java/class.c
gcc/java/jcf-depend.c
gcc/java/jcf-io.c
gcc/java/jcf-path.c
gcc/java/resource.c
gcc/java/verify-impl.c
gcc/lto-wrapper.c
gcc/lto/ChangeLog
gcc/lto/lto-endian.h [deleted file]
gcc/lto/lto-object.c
gcc/lto/lto.c
gcc/mips-tfile.c
gcc/opts.c
gcc/passes.c
gcc/sparseset.h
gcc/system.h
gcc/timevar.c
gcc/tlink.c
gcc/toplev.c
gcc/tree-mudflap.c
gcc/tree-switch-conversion.c
gcc/vmsdbgout.c