mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +00:00
strcnt: remove unused parameter
This commit is contained in:
@@ -241,7 +241,7 @@ void memchrsub(void *data, char c, char x, size_t len)
|
||||
/// @param str Pointer to the string to search.
|
||||
/// @param c The byte to search for.
|
||||
/// @returns the number of occurrences of `c` in `str`.
|
||||
size_t strcnt(const char *str, char c, size_t len)
|
||||
size_t strcnt(const char *str, char c)
|
||||
FUNC_ATTR_NONNULL_ALL FUNC_ATTR_PURE
|
||||
{
|
||||
assert(c != 0);
|
||||
|
Reference in New Issue
Block a user