mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 09:50:02 +00:00
Removed strpbrk.c.
svn path=/trunk/; revision=15930
This commit is contained in:
parent
251cbb167f
commit
3ab1c49a3e
4 changed files with 0 additions and 44 deletions
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
}
|
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
}
|
Loading…
Reference in a new issue