OSDN Git Service

fixincludes:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Apr 2005 21:46:59 +0000 (21:46 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Apr 2005 21:46:59 +0000 (21:46 +0000)
commit077a3c999ec3b9553024d85edb14f08c78a8e6c8
treebcbd909493a495297ca2b985d2ff663a494ec0d9
parentfcee97ca6aecc7addb64d774f1023dc8a6a8f9aa
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.

* configure, config.h.in: Regenerate.

gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.

* configure, config.in: Regenerate.

libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.

* configure, config.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97986 138bc75d-0d04-0410-961f-82ee72b054a4
15 files changed:
fixincludes/ChangeLog
fixincludes/config.h.in
fixincludes/configure
fixincludes/configure.ac
fixincludes/system.h
gcc/ChangeLog
gcc/config.in
gcc/configure
gcc/configure.ac
gcc/system.h
libcpp/ChangeLog
libcpp/config.in
libcpp/configure
libcpp/configure.ac
libcpp/system.h