From 027d256d3bc5fb6732d79d4bac60ebce2bba3a84 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 2 Sep 2015 18:08:08 +0200 Subject: stpbrk => strpbrk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- include/string.h | 2 +- src/string/strspn.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/string.h b/include/string.h index 30131de..483b49b 100644 --- a/include/string.h +++ b/include/string.h @@ -1016,7 +1016,7 @@ size_t strcspn(const char*, const char*) * `string` of a byte found in `stopset`. * `NULL` is returned if none is found. */ -char* stpbrk(const char*, const char*) +char* strpbrk(const char*, const char*) __GCC_ONLY(__attribute__((warn_unused_result, nonnull, pure))); diff --git a/src/string/strspn.c b/src/string/strspn.c index 3facfd8..f8d1dac 100644 --- a/src/string/strspn.c +++ b/src/string/strspn.c @@ -82,7 +82,7 @@ size_t strcspn(const char* string, const char* stopset) * `string` of a byte found in `stopset`. * `NULL` is returned if none is found. */ -char* stpbrk(const char* string, const char* stopset) +char* strpbrk(const char* string, const char* stopset) { char set[256]; char c; -- cgit v1.2.3-70-g09d2