set most of trunk svn property eol-style:native
[reactos.git] / reactos / lib / string / wtol.c
index b6ea59a..33f5721 100644 (file)
@@ -1,33 +1,33 @@
-#include <string.h>\r
-#include <stdlib.h>\r
-#include <windows.h>\r
-\r
-/*\r
- * @implemented\r
- */\r
-long\r
-_wtol(const wchar_t *str)\r
-{\r
-     ULONG RunningTotal = 0;\r
-    char bMinus = 0;\r
-\r
-    while (iswctype(*str, _SPACE) ) {\r
-       str++;\r
-    } /* while */\r
-\r
-    if (*str == L'+') {\r
-       str++;\r
-    } else if (*str == L'-') {\r
-       bMinus = 1;\r
-       str++;\r
-    } /* if */\r
-\r
-    while (*str >= L'0' && *str <= L'9') {\r
-       RunningTotal = RunningTotal * 10 + *str - L'0';\r
-       str++;\r
-    } /* while */\r
-\r
-    return bMinus ? -RunningTotal : RunningTotal;\r
-}\r
-\r
-\r
+#include <string.h>
+#include <stdlib.h>
+#include <windows.h>
+
+/*
+ * @implemented
+ */
+long
+_wtol(const wchar_t *str)
+{
+     ULONG RunningTotal = 0;
+    char bMinus = 0;
+
+    while (iswctype(*str, _SPACE) ) {
+       str++;
+    } /* while */
+
+    if (*str == L'+') {
+       str++;
+    } else if (*str == L'-') {
+       bMinus = 1;
+       str++;
+    } /* if */
+
+    while (*str >= L'0' && *str <= L'9') {
+       RunningTotal = RunningTotal * 10 + *str - L'0';
+       str++;
+    } /* while */
+
+    return bMinus ? -RunningTotal : RunningTotal;
+}
+
+