]> pd.if.org Git - pdclib/blobdiff - functions/string/strchr.c
Removed old files.
[pdclib] / functions / string / strchr.c
diff --git a/functions/string/strchr.c b/functions/string/strchr.c
deleted file mode 100644 (file)
index 960e7e4..0000000
+++ /dev/null
@@ -1,21 +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 * strchr( const char * src, int c )
-{
-    while ( *src != '\0' )
-    {
-        if ( *src == (const char) c )
-        {
-            return (char *) src;
-        }
-        ++src;
-    }
-    return NULL;
-}