aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-09-02 18:08:08 +0200
committerMattias Andrée <maandree@operamail.com>2015-09-02 18:08:08 +0200
commit027d256d3bc5fb6732d79d4bac60ebce2bba3a84 (patch)
treedd3df9487df550b0610aeb655313cb9f015430de
parentm (diff)
downloadslibc-027d256d3bc5fb6732d79d4bac60ebce2bba3a84.tar.gz
slibc-027d256d3bc5fb6732d79d4bac60ebce2bba3a84.tar.bz2
slibc-027d256d3bc5fb6732d79d4bac60ebce2bba3a84.tar.xz
stpbrk => strpbrk
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--include/string.h2
-rw-r--r--src/string/strspn.c2
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;