From 1ee311b26d7122f860fe940db6ce46968981a9a3 Mon Sep 17 00:00:00 2001 From: alfred Date: Tue, 28 May 2002 17:03:12 +0000 Subject: Assume __STDC__, remove non-__STDC__ code. Submitted by: keramida --- lib/libc/stdio/printf.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'lib/libc/stdio/printf.c') diff --git a/lib/libc/stdio/printf.c b/lib/libc/stdio/printf.c index 1d24931..bd7d16c 100644 --- a/lib/libc/stdio/printf.c +++ b/lib/libc/stdio/printf.c @@ -41,29 +41,15 @@ static char sccsid[] = "@(#)printf.c 8.1 (Berkeley) 6/4/93"; __FBSDID("$FreeBSD$"); #include -#if __STDC__ #include -#else -#include -#endif int -#if __STDC__ printf(char const *fmt, ...) -#else -printf(fmt, va_alist) - char *fmt; - va_dcl -#endif { int ret; va_list ap; -#if __STDC__ va_start(ap, fmt); -#else - va_start(ap); -#endif ret = vfprintf(stdout, fmt, ap); va_end(ap); return (ret); -- cgit v1.1