summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fprintf.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-05-28 17:03:12 +0000
committeralfred <alfred@FreeBSD.org>2002-05-28 17:03:12 +0000
commit1ee311b26d7122f860fe940db6ce46968981a9a3 (patch)
tree96c195652047b452e756960d6bdfc6786443c564 /lib/libc/stdio/fprintf.c
parentae40c00e1724fe7d6584623e3a953b6b44fc741f (diff)
downloadFreeBSD-src-1ee311b26d7122f860fe940db6ce46968981a9a3.zip
FreeBSD-src-1ee311b26d7122f860fe940db6ce46968981a9a3.tar.gz
Assume __STDC__, remove non-__STDC__ code.
Submitted by: keramida
Diffstat (limited to 'lib/libc/stdio/fprintf.c')
-rw-r--r--lib/libc/stdio/fprintf.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/libc/stdio/fprintf.c b/lib/libc/stdio/fprintf.c
index 53c1328..55ae1d5 100644
--- a/lib/libc/stdio/fprintf.c
+++ b/lib/libc/stdio/fprintf.c
@@ -41,30 +41,15 @@ static char sccsid[] = "@(#)fprintf.c 8.1 (Berkeley) 6/4/93";
__FBSDID("$FreeBSD$");
#include <stdio.h>
-#if __STDC__
#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
int
-#if __STDC__
fprintf(FILE *fp, const char *fmt, ...)
-#else
-fprintf(fp, fmt, va_alist)
- FILE *fp;
- char *fmt;
- va_dcl
-#endif
{
int ret;
va_list ap;
-#if __STDC__
va_start(ap, fmt);
-#else
- va_start(ap);
-#endif
ret = vfprintf(fp, fmt, ap);
va_end(ap);
return (ret);
OpenPOWER on IntegriCloud