summaryrefslogtreecommitdiffstats
path: root/replace/strchrnul.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--replace/strchrnul.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/replace/strchrnul.c b/replace/strchrnul.c
deleted file mode 100644
index d1be6df..0000000
--- a/replace/strchrnul.c
+++ /dev/null
@@ -1,15 +0,0 @@
-#include <crm_internal.h>
-/* Borrowed from gnulib's strchrnul.c under GLPv2+ */
-
-#include <string.h>
-/* Find the first occurrence of C in S or the final NUL byte. */
-char *
-strchrnul(const char *s, int c_in)
-{
- char c = c_in;
-
- while (*s && (*s != c))
- s++;
-
- return (char *)s;
-}