[ros-diffs] [hbirr] 15930: Removed strpbrk.c.

hbirr at svn.reactos.com hbirr at svn.reactos.com
Thu Jun 16 00:52:07 CEST 2005


Removed strpbrk.c.
Modified: trunk/reactos/lib/crt/crt.xml
Deleted: trunk/reactos/lib/crt/string/strpbrk.c
Modified: trunk/reactos/lib/ntdll/ntdll.xml
Deleted: trunk/reactos/lib/ntdll/string/strpbrk.c
  _____  

Modified: trunk/reactos/lib/crt/crt.xml
--- trunk/reactos/lib/crt/crt.xml	2005-06-15 22:47:12 UTC (rev
15929)
+++ trunk/reactos/lib/crt/crt.xml	2005-06-15 22:52:03 UTC (rev
15930)
@@ -344,7 +344,6 @@

 		<file>strdup.c</file>
 		<file>strerror.c</file>
 		<file>strncoll.c</file>
-		<file>strpbrk.c</file>
 		<file>strrev.c</file>
 		<file>strset.c</file>
 		<file>strstr.c</file>
  _____  

Deleted: trunk/reactos/lib/crt/string/strpbrk.c
--- trunk/reactos/lib/crt/string/strpbrk.c	2005-06-15 22:47:12 UTC
(rev 15929)
+++ trunk/reactos/lib/crt/string/strpbrk.c	2005-06-15 22:52:03 UTC
(rev 15930)
@@ -1,21 +0,0 @@

-/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <string.h>
-
-
-/*
- * @implemented
- */
-char *
-strpbrk(const char *s1, const char *s2)
-{
-  const char *scanp;
-  int c, sc;
-
-  while ((c = *s1++) != 0)
-  {
-    for (scanp = s2; (sc = *scanp++) != 0;)
-      if (sc == c)
-	return (char *)(s1 - 1);
-  }
-  return 0;
-}
  _____  

Modified: trunk/reactos/lib/ntdll/ntdll.xml
--- trunk/reactos/lib/ntdll/ntdll.xml	2005-06-15 22:47:12 UTC (rev
15929)
+++ trunk/reactos/lib/ntdll/ntdll.xml	2005-06-15 22:52:03 UTC (rev
15930)
@@ -84,7 +84,6 @@

 		<file>stricmp.c</file>
 		<file>strlwr.c</file>
 		<file>strnicmp.c</file>
-		<file>strpbrk.c</file>
 		<file>strstr.c</file>
 		<file>strupr.c</file>
 		<file>wstring.c</file>
  _____  

Deleted: trunk/reactos/lib/ntdll/string/strpbrk.c
--- trunk/reactos/lib/ntdll/string/strpbrk.c	2005-06-15 22:47:12 UTC
(rev 15929)
+++ trunk/reactos/lib/ntdll/string/strpbrk.c	2005-06-15 22:52:03 UTC
(rev 15930)
@@ -1,21 +0,0 @@

-/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <string.h>
-
-
-/*
- * @implemented
- */
-char *
-strpbrk(const char *s1, const char *s2)
-{
-  const char *scanp;
-  int c, sc;
-
-  while ((c = *s1++) != 0)
-  {
-    for (scanp = s2; (sc = *scanp++) != 0;)
-      if (sc == c)
-	return (char *)(s1 - 1);
-  }
-  return 0;
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050616/0c398cef/attachment.html


More information about the Ros-diffs mailing list