mirror of
https://github.com/ipxe/ipxe
synced 2025-12-22 13:00:39 +03:00
[libc] Rewrite unrelicensable portions of ctype.h
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -35,11 +35,12 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
/**
|
||||
* Check to see if character is a space
|
||||
*
|
||||
* @v c Character
|
||||
* @v character Character
|
||||
* @ret isspace Character is a space
|
||||
*/
|
||||
int isspace ( int c ) {
|
||||
switch ( c ) {
|
||||
int isspace ( int character ) {
|
||||
|
||||
switch ( character ) {
|
||||
case ' ' :
|
||||
case '\f' :
|
||||
case '\n' :
|
||||
|
||||
Reference in New Issue
Block a user