From 6b89ce1a25fb00ee8226178df51ec5ef081ae8d6 Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Sat, 26 Jul 2003 14:56:55 +0000 Subject: [PATCH] - Fixed the using of the assert macro. svn path=/trunk/; revision=5278 --- reactos/lib/msvcrt/string/lasttok.c | 3 ++- reactos/lib/msvcrt/wstring/wlasttok.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/reactos/lib/msvcrt/string/lasttok.c b/reactos/lib/msvcrt/string/lasttok.c index 5b322e5d712..fbe0cc9f1f0 100644 --- a/reactos/lib/msvcrt/string/lasttok.c +++ b/reactos/lib/msvcrt/string/lasttok.c @@ -1,4 +1,5 @@ #include +#include /* * This is an MSVCRT internal function to return the lasttoken @@ -9,6 +10,6 @@ char** _lasttoken() { PTHREADDATA ptd = GetThreadData(); - _assert(ptd); + assert(ptd); return &(ptd->lasttoken); } diff --git a/reactos/lib/msvcrt/wstring/wlasttok.c b/reactos/lib/msvcrt/wstring/wlasttok.c index 41a93e4e01c..fcc80c06d0e 100644 --- a/reactos/lib/msvcrt/wstring/wlasttok.c +++ b/reactos/lib/msvcrt/wstring/wlasttok.c @@ -1,5 +1,5 @@ #include - +#include /* * This is an MSVCRT internal function to return the lasttoken * bit of data used by wcstok. The reason for it's existence is @@ -9,6 +9,6 @@ wchar_t** _wlasttoken() { PTHREADDATA ptd = GetThreadData(); - _assert(ptd); + assert(ptd); return &(ptd->wlasttoken); }