X-Git-Url: http://git.jankratochvil.net/?a=blobdiff_plain;f=lib%2Fcrtdll%2Fstdio%2Fvsscanf.c;h=920ff13d1f82f4815c5f83d2b39c06b1ee2c80aa;hb=e3ed2d773259cc445c7ff8181ebd934931365328;hp=e5f9719bb5b4b2dc93cfee692530f23c2b0a4b7a;hpb=d378c68f5a9bb25c9e671dacd482d2e25d211df3;p=reactos.git diff --git a/lib/crtdll/stdio/vsscanf.c b/lib/crtdll/stdio/vsscanf.c index e5f9719..920ff13 100644 --- a/lib/crtdll/stdio/vsscanf.c +++ b/lib/crtdll/stdio/vsscanf.c @@ -16,20 +16,18 @@ License along with the GNU C Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #undef vsscanf -int __vfscanf (FILE *s, const char *format, va_list argptr); - /* Read formatted input from S according to the format string FORMAT, using the argument list in ARG. */ -int -__vsscanf (const char *s,const char *format,va_list arg) +int __vsscanf(const char *s,const char *format,va_list arg) { FILE f; @@ -41,18 +39,12 @@ __vsscanf (const char *s,const char *format,va_list arg) memset ((void *) &f, 0, sizeof (f)); - - f._flag = _IOREAD; f._ptr = (char *)s; f._base = (char *)s; f._bufsiz = strlen(s); f._cnt = f._bufsiz; - return __vfscanf (&f, format, arg); } - -//weak_alias (__vsscanf, vsscanf) -