mirror of
https://github.com/reactos/reactos.git
synced 2025-06-20 07:36:05 +00:00
- Don't include <windows.h> if it's not needed.
- Fix strange usage of TABs. svn path=/trunk/; revision=30247
This commit is contained in:
parent
9a0cb042b7
commit
f5ccdfc8e8
1 changed files with 11 additions and 9 deletions
|
@ -1,6 +1,8 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <ctype.h>
|
||||||
#include <windows.h>
|
#include <basetsd.h>
|
||||||
|
|
||||||
|
/* Implementation comes from wine/dlls/ntdll/wcstring.c */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
|
@ -8,7 +10,7 @@
|
||||||
long
|
long
|
||||||
_wtol(const wchar_t *str)
|
_wtol(const wchar_t *str)
|
||||||
{
|
{
|
||||||
ULONG RunningTotal = 0;
|
unsigned long RunningTotal = 0;
|
||||||
char bMinus = 0;
|
char bMinus = 0;
|
||||||
|
|
||||||
while (iswctype(*str, _SPACE) ) {
|
while (iswctype(*str, _SPACE) ) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue