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 18f09d47d324771a38b8b78b2ba5bb8dcf777388..4e375c949f5a8edaa79ac1b3fd8647742d46a24d 100644
(file)
--- a/
libiberty/vfprintf.c
+++ b/
libiberty/vfprintf.c
@@
-1,22
+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.
*/
#include "ansidecl.h"
*/
#include "ansidecl.h"
-#ifdef ANSI_PROTOTYPES
#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.023153 seconds
and
4
git commands to generate.