summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-09-22 15:28:36 +0000
committerLaurent Bercot <ska@appnovation.com>2023-09-22 15:28:36 +0000
commit753ceac3272a8c4f150ace8b4695991a85345c3c (patch)
treef9e62f7d544f634bc6e8b13b194f10182c980d91 /src/include
parentaebe8604605b41803c43c1def87549569b821b27 (diff)
downloadskalibs-753ceac3272a8c4f150ace8b4695991a85345c3c.tar.xz
Revamp case functions, add strcasestr() fallback
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/skalibs/bytestr.h1
-rw-r--r--src/include/skalibs/posixplz.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/include/skalibs/bytestr.h b/src/include/skalibs/bytestr.h
index 78fb8a1..30695f8 100644
--- a/src/include/skalibs/bytestr.h
+++ b/src/include/skalibs/bytestr.h
@@ -49,6 +49,5 @@ extern void case_upperb (char *, size_t) ;
#define case_equalb(a, n, b) (!strncasecmp(a, (b), n))
#define case_starts(s, t) case_startb(s, strlen(s), t)
extern int case_startb (char const *, size_t, char const *) gccattr_pure ;
-extern size_t case_str (char const *, char const *) gccattr_pure ;
#endif
diff --git a/src/include/skalibs/posixplz.h b/src/include/skalibs/posixplz.h
index 6dfe954..9eef116 100644
--- a/src/include/skalibs/posixplz.h
+++ b/src/include/skalibs/posixplz.h
@@ -24,6 +24,7 @@ extern char **environ ;
*/
extern void *memmem (void const *, size_t, void const *, size_t) gccattr_pure ;
+extern char *strcasestr (char const *, char const *) gccattr_pure ;
extern int getpeereid (int, uid_t *, gid_t *) ;