strcnt: remove unused parameter

This commit is contained in:
Justin M. Keyes 2014-12-12 11:20:35 -05:00
parent c729286604
commit a44eec1789

View File

@ -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);