From 464c5c218745125c3cb059ee5ad394af5d0c3c91 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Fri, 16 Apr 1999 17:20:16 +0000 Subject: [PATCH] changes to build cmd again svn path=/trunk/; revision=390 --- reactos/lib/kernel32/kernel32.def | 6 ++++-- reactos/lib/ntdll/def/ntdll.def | 1 + reactos/lib/ntdll/makefile | 2 +- reactos/lib/ntdll/string/strlwr.c | 23 +++++++++++++++++++++++ 4 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 reactos/lib/ntdll/string/strlwr.c diff --git a/reactos/lib/kernel32/kernel32.def b/reactos/lib/kernel32/kernel32.def index 338e2117fe2..9f8195831ce 100644 --- a/reactos/lib/kernel32/kernel32.def +++ b/reactos/lib/kernel32/kernel32.def @@ -163,8 +163,10 @@ ExitProcess = ExitProcess@4 ;FatalAppExitW@8 ;FatalExit@4 ;FileTimeToDosDateTime@12 -;FileTimeToLocalFileTime@8 -;FileTimeToSystemTime@8 +FileTimeToLocalFileTime@8 +FileTimeToLocalFileTime = FileTimeToLocalFileTime@8 +FileTimeToSystemTime@8 +FileTimeToSystemTime = FileTimeToSystemTime@8 FillConsoleOutputAttribute@20 FillConsoleOutputAttribute = FillConsoleOutputAttribute@20 FillConsoleOutputCharacterA@20 diff --git a/reactos/lib/ntdll/def/ntdll.def b/reactos/lib/ntdll/def/ntdll.def index b7769a9f051..ab39c95a0ed 100644 --- a/reactos/lib/ntdll/def/ntdll.def +++ b/reactos/lib/ntdll/def/ntdll.def @@ -441,6 +441,7 @@ RtlExtendedIntegerMultiply _splitpath _strcmpi _stricmp +_strlwr _strnicmp _strupr atoi diff --git a/reactos/lib/ntdll/makefile b/reactos/lib/ntdll/makefile index 0305b8767f3..2c57bac9fc4 100644 --- a/reactos/lib/ntdll/makefile +++ b/reactos/lib/ntdll/makefile @@ -20,7 +20,7 @@ STDLIB_OBJECTS = stdlib/atoi.o stdlib/atol.o stdlib/splitp.o \ STRING_OBJECTS = string/ctype.o string/memcpy.o string/memmove.o \ string/memset.o string/strcat.o string/strchr.o \ string/strcmp.o string/strcspn.o \ - string/strcpy.o string/stricmp.o string/strlen.o \ + string/strcpy.o string/stricmp.o string/strlen.o string/strlwr.o \ string/strncat.o string/strncmp.o string/strncpy.o \ string/strnicmp.o string/strnlen.o string/strrchr.o \ string/strstr.o string/strupr.o string/wstring.o diff --git a/reactos/lib/ntdll/string/strlwr.c b/reactos/lib/ntdll/string/strlwr.c new file mode 100644 index 00000000000..461429fc4ae --- /dev/null +++ b/reactos/lib/ntdll/string/strlwr.c @@ -0,0 +1,23 @@ +/* + * The C RunTime DLL + * + * Implements C run-time functionality as known from UNIX. + * + * Copyright 1996,1998 Marcus Meissner + * Copyright 1996 Jukka Iivonen + * Copyright 1997 Uwe Bonnes + */ + +#include +#include + +char * _strlwr(char *x) +{ + char *y=x; + + while (*y) { + *y=tolower(*y); + y++; + } + return x; +}