Rename parameter
This commit is contained in:
1 parent
2b2ebecae7
commit
778bc4072b
1 file changed
+3
-3
+3
-3
@@ -472,11 +472,11 @@ string_spn(const string_t v1, const char accept[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
static inline size_t
|
static inline size_t
|
||||||
string_cspn(const string_t v1, const char accept[])
|
string_cspn(const string_t v1, const char reject[])
|
||||||
{
|
{
|
||||||
STRINGI_CONTRACT (v1);
|
STRINGI_CONTRACT (v1);
|
||||||
M_ASSUME (accept != NULL);
|
M_ASSUME (reject != NULL);
|
||||||
return strcspn(string_get_cstr(v1), accept);
|
return strcspn(string_get_cstr(v1), reject);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
|
|||||||
Reference in new issue
Block a user