Remove dup definition
This commit is contained in:
parent
3ed7e95c17
commit
1541bf8bbb
1 changed files with 0 additions and 12 deletions
|
@ -141,15 +141,3 @@ __always_inline int isalnum(int c)
|
||||||
{
|
{
|
||||||
return isalpha(c) || isdigit(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);
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue