strip whitespace from end of lines
[reactos.git] / reactos / ntoskrnl / rtl / strtok.c
index c0e0b02..70a31d2 100644 (file)
@@ -1,10 +1,10 @@
-/* $Id:$
- * 
+/* $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
- * 
+ *
  * PROGRAMMERS:     David Welch (welch@mcmail.com)
  */
 
@@ -22,7 +22,7 @@ char* strtok(char *s, const char *delim)
   int c, sc;
   char *tok;
   static char *last;
-   
+
   if (s == NULL && (s = last) == NULL)
     return (NULL);
 
@@ -78,7 +78,7 @@ PWSTR RtlStrtok(PUNICODE_STRING _string, PWSTR _sep,
    PWSTR string;
    PWSTR sep;
    PWSTR start;
-   
+
    if (_string!=NULL)
      {
        string = _string->Buffer;
@@ -87,9 +87,9 @@ PWSTR RtlStrtok(PUNICODE_STRING _string, PWSTR _sep,
      {
        string = *temp;
      }
-   
+
    start = string;
-   
+
    while ((*string)!=0)
      {
        sep = _sep;