aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-08-02 16:11:13 +0000
committerAndreas Jaeger <aj@suse.de>2001-08-02 16:11:13 +0000
commit518bd01a3d353c67e9db880c8faa70cf15855eda (patch)
treed31133e1ad55ba9776c75c34c9ddcbf53745fe83
parentc33d94f2afcae9b92c48172ab2e3d78a9b86be52 (diff)
downloadglibc-518bd01a3d353c67e9db880c8faa70cf15855eda.tar
glibc-518bd01a3d353c67e9db880c8faa70cf15855eda.tar.gz
glibc-518bd01a3d353c67e9db880c8faa70cf15855eda.tar.bz2
glibc-518bd01a3d353c67e9db880c8faa70cf15855eda.zip
Update.
2001-08-02 Andreas Jaeger <aj@suse.de> * libio/bits/stdio.h (printf): Remove printf optimization since GCC 3.0 can optimize printf.
-rw-r--r--ChangeLog5
-rw-r--r--libio/bits/stdio.h7
2 files changed, 5 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 2a4af9d1c9..e5ed21acac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-02 Andreas Jaeger <aj@suse.de>
+
+ * libio/bits/stdio.h (printf): Remove printf optimization since
+ GCC 3.0 can optimize printf.
+
2001-08-02 Ulrich Weigand <uweigand@de.ibm.com>
* sysdeps/s390/s390-32/memcpy.S: Fixed incorrect use of
diff --git a/libio/bits/stdio.h b/libio/bits/stdio.h
index 041be74218..118118adce 100644
--- a/libio/bits/stdio.h
+++ b/libio/bits/stdio.h
@@ -29,13 +29,6 @@
#ifdef __USE_EXTERN_INLINES
-/* Since version 2.97 GCC knows about `fprintf' and can optimize certain
- cases. Help gcc to optimize more code by mapping `printf' to the known
- `fprintf' function. Unfortunately we have to use a macro. */
-# if __GNUC_PREREQ (2,97)
-# define printf(fmt, args...) fprintf (stdout, fmt, ##args)
-# endif
-
/* Write formatted output to stdout from argument list ARG. */
__STDIO_INLINE int
vprintf (__const char *__restrict __fmt, _G_va_list __arg) __THROW