summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/bits/stdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/mips/bits/stdio.h')
-rw-r--r--libc/sysdeps/linux/mips/bits/stdio.h24
1 files changed, 9 insertions, 15 deletions
diff --git a/libc/sysdeps/linux/mips/bits/stdio.h b/libc/sysdeps/linux/mips/bits/stdio.h
index 0b4f61422..118118adc 100644
--- a/libc/sysdeps/linux/mips/bits/stdio.h
+++ b/libc/sysdeps/linux/mips/bits/stdio.h
@@ -1,20 +1,21 @@
/* Optimizing macros and inline functions for stdio functions.
Copyright (C) 1998, 2000, 2001 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public License as
- published by the Free Software Foundation; either version 2 of the
- License, or (at your option) any later version.
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
The GNU C Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
+ Lesser General Public License for more details.
- You should have received a copy of the GNU Library General Public
- License along with the GNU C Library; see the file COPYING.LIB. If not,
- write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA. */
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, write to the Free
+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA. */
#ifndef _STDIO_H
# error "Never include <bits/stdio.h> directly; use <stdio.h> instead."
@@ -28,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