diff options
| author | Alfred Perlstein <alfred@FreeBSD.org> | 2002-05-28 17:03:12 +0000 |
|---|---|---|
| committer | Alfred Perlstein <alfred@FreeBSD.org> | 2002-05-28 17:03:12 +0000 |
| commit | a82bbc730e20fe9dec4abeb1d949b2d02869032a (patch) | |
| tree | 96c195652047b452e756960d6bdfc6786443c564 /lib/libc/stdio/scanf.c | |
| parent | 6ba807ae3ad4a36737776b8360698979fb378d97 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/scanf.c')
| -rw-r--r-- | lib/libc/stdio/scanf.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/libc/stdio/scanf.c b/lib/libc/stdio/scanf.c index 98cd4e22ea51..990c9b0a7995 100644 --- a/lib/libc/stdio/scanf.c +++ b/lib/libc/stdio/scanf.c @@ -42,32 +42,17 @@ __FBSDID("$FreeBSD$"); #include "namespace.h" #include <stdio.h> -#if __STDC__ #include <stdarg.h> -#else -#include <varargs.h> -#endif #include "un-namespace.h" #include "libc_private.h" -#if __STDC__ int scanf(char const *fmt, ...) -#else -int -scanf(fmt, va_alist) - char *fmt; - va_dcl -#endif { int ret; va_list ap; -#if __STDC__ va_start(ap, fmt); -#else - va_start(ap); -#endif FLOCKFILE(stdin); ret = __svfscanf(stdin, fmt, ap); FUNLOCKFILE(stdin); |
