X-Git-Url: http://git.jankratochvil.net/?p=reactos.git;a=blobdiff_plain;f=lib%2Fcrtdll%2Fconio%2Fcscanf.c;fp=lib%2Fcrtdll%2Fconio%2Fcscanf.c;h=eb3743afe6ecaa37a3be4613f3506835d76b363f;hp=42a877954c9ee61129b1f22e630b4cd7e34148e9;hb=e3ed2d773259cc445c7ff8181ebd934931365328;hpb=d378c68f5a9bb25c9e671dacd482d2e25d211df3 diff --git a/lib/crtdll/conio/cscanf.c b/lib/crtdll/conio/cscanf.c index 42a8779..eb3743a 100644 --- a/lib/crtdll/conio/cscanf.c +++ b/lib/crtdll/conio/cscanf.c @@ -1,19 +1,18 @@ -#include -#include -#include +#include +#include +#include +#include -int -_cscanf(char *fmt, ...) +int _cscanf(char *fmt, ...) { - int cnt; + int cnt; - va_list ap; - - //fixme cscanf should scan the console's keyboard - va_start(ap, fmt); - cnt = __vscanf(fmt, ap); - va_end(ap); - return cnt; -} + va_list ap; + //fixme cscanf should scan the console's keyboard + va_start(ap, fmt); + cnt = __vscanf(fmt, ap); + va_end(ap); + return cnt; +}