From a82bbc730e20fe9dec4abeb1d949b2d02869032a Mon Sep 17 00:00:00 2001 From: Alfred Perlstein Date: Tue, 28 May 2002 17:03:12 +0000 Subject: Assume __STDC__, remove non-__STDC__ code. Submitted by: keramida --- lib/libc/stdio/fprintf.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'lib/libc/stdio/fprintf.c') diff --git a/lib/libc/stdio/fprintf.c b/lib/libc/stdio/fprintf.c index 53c1328581b9..55ae1d5daef4 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 -#if __STDC__ #include -#else -#include -#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); -- cgit v1.3