diff options
author | midipix <writeonce@midipix.org> | 2015-03-15 21:08:54 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2015-03-15 21:08:54 -0400 |
commit | 18bc92cb83fdf0f0472432fb7c30914a9cd4df01 (patch) | |
tree | 2d11f8c8d084e113cae1ef6175fc2e888e570f58 /libiberty/vprintf.c | |
parent | cf7e0e7656729af8bd8f3bb86c4d51f1089a0c37 (diff) | |
download | cbb-gcc-4.6.4-18bc92cb83fdf0f0472432fb7c30914a9cd4df01.tar.bz2 cbb-gcc-4.6.4-18bc92cb83fdf0f0472432fb7c30914a9cd4df01.tar.xz |
libiberty: remove source files that either duplicate functionality
already present in all modern libc implementations, or are
incompatible with modern development environments, or both.
Diffstat (limited to 'libiberty/vprintf.c')
-rw-r--r-- | libiberty/vprintf.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/libiberty/vprintf.c b/libiberty/vprintf.c deleted file mode 100644 index c3193ac81..000000000 --- a/libiberty/vprintf.c +++ /dev/null @@ -1,28 +0,0 @@ -/* - -@deftypefn Supplemental int vprintf (const char *@var{format}, va_list @var{ap}) -@deftypefnx Supplemental int vfprintf (FILE *@var{stream}, @ - const char *@var{format}, va_list @var{ap}) -@deftypefnx Supplemental int vsprintf (char *@var{str}, @ - const char *@var{format}, va_list @var{ap}) - -These functions are the same as @code{printf}, @code{fprintf}, and -@code{sprintf}, respectively, except that they are called with a -@code{va_list} instead of a variable number of arguments. Note that -they do not call @code{va_end}; this is the application's -responsibility. In @libib{} they are implemented in terms of the -nonstandard but common function @code{_doprnt}. - -@end deftypefn - -*/ - -#include <ansidecl.h> -#include <stdarg.h> -#include <stdio.h> -#undef vprintf -int -vprintf (const char *format, va_list ap) -{ - return vfprintf (stdout, format, ap); -} |