OSDN Git Service

2007-04-04 Eric Blake <ebb9@byu.net>
authorjjohnstn <jjohnstn>
Wed, 4 Apr 2007 18:32:48 +0000 (18:32 +0000)
committerjjohnstn <jjohnstn>
Wed, 4 Apr 2007 18:32:48 +0000 (18:32 +0000)
commitbc8a05d02bbaf2d0f2e71b956094c29e377474c2
tree43fd48d9997856dfc2f20896b6af0f4e6f3c3bc2
parentc62f8bde22ea929767405ffe9712722a58a1e75f
2007-04-04  Eric Blake  <ebb9@byu.net>

* libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
(asiprintf): Avoid overhead.
* libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
(asprintf): Avoid overhead.
* libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
* libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
* libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
(fiprintf): Avoid overhead.
* libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
(fprintf): Avoid overhead.
* libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
(iprintf): Avoid overhead.
* libc/stdio/printf.c (_printf_r): Use _DEFUN.
(printf): Avoid overhead.
* libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
* libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
* libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
* libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
* libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
* libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
* libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
* libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
* libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
vdiprintf.c.
* libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
(_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
20 files changed:
newlib/ChangeLog
newlib/libc/include/stdio.h
newlib/libc/stdio/Makefile.am
newlib/libc/stdio/Makefile.in
newlib/libc/stdio/asiprintf.c
newlib/libc/stdio/asprintf.c
newlib/libc/stdio/diprintf.c [new file with mode: 0644]
newlib/libc/stdio/dprintf.c
newlib/libc/stdio/fiprintf.c
newlib/libc/stdio/fprintf.c
newlib/libc/stdio/iprintf.c
newlib/libc/stdio/printf.c
newlib/libc/stdio/vasiprintf.c
newlib/libc/stdio/vasprintf.c
newlib/libc/stdio/vdiprintf.c [new file with mode: 0644]
newlib/libc/stdio/vdprintf.c
newlib/libc/stdio/vsiprintf.c
newlib/libc/stdio/vsniprintf.c
newlib/libc/stdio/vsnprintf.c
newlib/libc/stdio/vsprintf.c