mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
strcnt: remove unused parameter
This commit is contained in:
parent
c729286604
commit
a44eec1789
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user