Remove dup definition

This commit is contained in:
Felix Kopp 2020-10-11 19:07:53 +02:00
parent 3ed7e95c17
commit 1541bf8bbb
No known key found for this signature in database
GPG key ID: C478BA0A85F75728

View file

@ -141,15 +141,3 @@ __always_inline int isalnum(int c)
{
return isalpha(c) || isdigit(c);
}
/**
* Check whether `c` is an alphabetic character in the C locale.
* Equivalent to `(isupper(c) || islower(c))`.
*
* @param c: The character, cast to an `int`.
* @returns A nonzero value if it is an alphabetic character, zero if not.
*/
__always_inline int isalpha(int c)
{
return isupper(c) || islower(c);
}