]> pd.if.org Git - pdclib/blobdiff - functions/string/strpbrk.c
Removed old files.
[pdclib] / functions / string / strpbrk.c
diff --git a/functions/string/strpbrk.c b/functions/string/strpbrk.c
deleted file mode 100644 (file)
index 1006ab6..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/* ----------------------------------------------------------------------------
- * $Id$
- * ----------------------------------------------------------------------------
- * Public Domain C Library - http://pdclib.sourceforge.net
- * This code is Public Domain. Use, modify, and redistribute at will.
- * --------------------------------------------------------------------------*/
-
-#include <__NULL.h>
-
-char * strpbrk( const char *src_1, const char * src_2 )
-{
-    const char * p1 = src_1;
-    const char * p2;
-    while ( *p1 != '\0' )
-    {
-        p2 = src_2;
-        while ( *p2 != '\0' )
-        {
-            if ( *p1 == *p2++ )
-            {
-                return (char *) p1;
-            }
-        }
-        ++p1;
-    }
-    return NULL;
-}