From 55bc18d383e848522ade0009197a7d0063bb7b80 Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Sun, 14 Dec 2003 18:06:44 +0000 Subject: [PATCH] - Replaced ctype.h with internal\ctype.h. On higher optimisation levels like '-O6', gcc does try to import some variables which only exist in msvcrt.dll. svn path=/trunk/; revision=7049 --- reactos/ntoskrnl/rtl/ctype.c | 4 ++-- reactos/ntoskrnl/rtl/sprintf.c | 4 ++-- reactos/ntoskrnl/rtl/stdlib.c | 4 ++-- reactos/ntoskrnl/rtl/string.c | 2 +- reactos/ntoskrnl/rtl/swprintf.c | 4 ++-- reactos/ntoskrnl/rtl/unicode.c | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/reactos/ntoskrnl/rtl/ctype.c b/reactos/ntoskrnl/rtl/ctype.c index 0412cfea368..2464e831cd4 100644 --- a/reactos/ntoskrnl/rtl/ctype.c +++ b/reactos/ntoskrnl/rtl/ctype.c @@ -1,4 +1,4 @@ -/* $Id: ctype.c,v 1.12 2003/07/11 01:23:15 royce Exp $ +/* $Id: ctype.c,v 1.13 2003/12/14 18:06:44 hbirr Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -11,7 +11,7 @@ * all functions to use ctype table */ #undef __MSVCRT__ -#include +#include #undef _pctype diff --git a/reactos/ntoskrnl/rtl/sprintf.c b/reactos/ntoskrnl/rtl/sprintf.c index 90e112f9528..f265cc3eea7 100644 --- a/reactos/ntoskrnl/rtl/sprintf.c +++ b/reactos/ntoskrnl/rtl/sprintf.c @@ -1,4 +1,4 @@ -/* $Id: sprintf.c,v 1.13 2003/09/02 18:19:41 hbirr Exp $ +/* $Id: sprintf.c,v 1.14 2003/12/14 18:06:44 hbirr Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include #include diff --git a/reactos/ntoskrnl/rtl/stdlib.c b/reactos/ntoskrnl/rtl/stdlib.c index 3d4c6eef326..5442a20899b 100644 --- a/reactos/ntoskrnl/rtl/stdlib.c +++ b/reactos/ntoskrnl/rtl/stdlib.c @@ -1,4 +1,4 @@ -/* $Id: stdlib.c,v 1.8 2003/07/11 01:23:16 royce Exp $ +/* $Id: stdlib.c,v 1.9 2003/12/14 18:06:44 hbirr Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -12,7 +12,7 @@ /* INCLUDES *****************************************************************/ #include -#include +#include #include #include #include diff --git a/reactos/ntoskrnl/rtl/string.c b/reactos/ntoskrnl/rtl/string.c index c194c5bb29f..50c45a86eb8 100644 --- a/reactos/ntoskrnl/rtl/string.c +++ b/reactos/ntoskrnl/rtl/string.c @@ -10,7 +10,7 @@ /* INCLUDES *****************************************************************/ -#include +#include #include /* FUNCTIONS *****************************************************************/ diff --git a/reactos/ntoskrnl/rtl/swprintf.c b/reactos/ntoskrnl/rtl/swprintf.c index 117bf034073..84da0810556 100644 --- a/reactos/ntoskrnl/rtl/swprintf.c +++ b/reactos/ntoskrnl/rtl/swprintf.c @@ -1,4 +1,4 @@ -/* $Id: swprintf.c,v 1.11 2003/09/02 18:19:41 hbirr Exp $ +/* $Id: swprintf.c,v 1.12 2003/12/14 18:06:44 hbirr Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include #include diff --git a/reactos/ntoskrnl/rtl/unicode.c b/reactos/ntoskrnl/rtl/unicode.c index bf5848475be..a9726690670 100644 --- a/reactos/ntoskrnl/rtl/unicode.c +++ b/reactos/ntoskrnl/rtl/unicode.c @@ -1,4 +1,4 @@ -/* $Id: unicode.c,v 1.32 2003/09/04 06:41:35 vizzini Exp $ +/* $Id: unicode.c,v 1.33 2003/12/14 18:06:44 hbirr Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -11,7 +11,7 @@ */ #include -#include +#include #include #include #include