projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix possible bug when no args have been provided to the executable
[deliverable/binutils-gdb.git]
/
libiberty
/
vfprintf.c
diff --git
a/libiberty/vfprintf.c
b/libiberty/vfprintf.c
index db7b2ff4c19e0f92e7548e11430ec79fbba6465f..4e375c949f5a8edaa79ac1b3fd8647742d46a24d 100644
(file)
--- a/
libiberty/vfprintf.c
+++ b/
libiberty/vfprintf.c
@@
-1,21
+1,15
@@
/* Provide a version vfprintf in terms of _doprnt.
By Kaveh Ghazi (ghazi@caip.rutgers.edu) 3/29/98
/* Provide a version vfprintf in terms of _doprnt.
By Kaveh Ghazi (ghazi@caip.rutgers.edu) 3/29/98
- Copyright (C) 1998 Free Software Foundation, Inc.
+ Copyright (C) 1998
-2017
Free Software Foundation, Inc.
*/
*/
-#i
fdef __STDC__
+#i
nclude "ansidecl.h"
#include <stdarg.h>
#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
#include <stdio.h>
#undef vfprintf
int
#include <stdio.h>
#undef vfprintf
int
-vfprintf (stream, format, ap)
- FILE * stream;
- const char * format;
- va_list ap;
+vfprintf (FILE *stream, const char *format, va_list ap)
{
return _doprnt (format, ap, stream);
}
{
return _doprnt (format, ap, stream);
}
This page took
0.024191 seconds
and
4
git commands to generate.