diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 07:46:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 07:46:09 +0000 |
commit | 043aa641ad4373e96fd748deb1e7fab3cb579a07 (patch) | |
tree | f8fde8a97ab5db152043f6c01043672114c0a4df /replace/strchrnul.c | |
parent | Releasing progress-linux version 2.1.6-5~progress7.99u1. (diff) | |
download | pacemaker-043aa641ad4373e96fd748deb1e7fab3cb579a07.tar.xz pacemaker-043aa641ad4373e96fd748deb1e7fab3cb579a07.zip |
Merging upstream version 2.1.7.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | replace/strchrnul.c | 15 |
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; -} |