Added binary and unicode file i/o support to msvcrt.
[reactos.git] / reactos / lib / msvcrt / conio / cscanf.c
index 58e01d9..eb3743a 100644 (file)
@@ -1,18 +1,18 @@
 #include <msvcrt/conio.h>
 #include <msvcrt/stdarg.h>
 #include <msvcrt/stdio.h>
+#include <msvcrt/internal/stdio.h>
 
 int _cscanf(char *fmt, ...)
 {
-  int cnt;
-  va_list ap;
+    int cnt;
 
-  //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;
+}