-/*
+/* $Id$
+ *
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/rtl/strtok.c
* PURPOSE: Unicode and thread safe implementation of strtok
- * PROGRAMMER: David Welch (welch@mcmail.com)
- * UPDATE HISTORY:
- * Created 22/05/98
+ *
+ * PROGRAMMERS: David Welch (welch@mcmail.com)
*/
/* INCLUDES *****************************************************************/
-#include <ddk/ntddk.h>
-
+#include <ntoskrnl.h>
#include <internal/debug.h>
int c, sc;
char *tok;
static char *last;
-
+
if (s == NULL && (s = last) == NULL)
return (NULL);
PWSTR string;
PWSTR sep;
PWSTR start;
-
+
if (_string!=NULL)
{
string = _string->Buffer;
{
string = *temp;
}
-
+
start = string;
-
+
while ((*string)!=0)
{
sep = _sep;