Skip to content

Commit c3b2dce

Browse files
lib/string/strspn/strrspn.h: Add missing const
Closes: <#1218> Reported-by: Chris Hofstaedtler <[email protected]> Signed-off-by: Alejandro Colomar <[email protected]>
1 parent 77eb67d commit c3b2dce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/string/strspn/strrspn.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ inline size_t strrspn_(const char *s, const char *accept);
2424
inline size_t
2525
strrspn_(const char *s, const char *accept)
2626
{
27-
char *p;
27+
const char *p;
2828

2929
p = strnul(s);
3030
while (p > s) {

0 commit comments

Comments
 (0)