From d1f0e89e4e898c877d0f05ee0c1405b62049e795 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 2 Mar 2015 14:41:49 +0000 Subject: [libc] Rewrite unrelicensable portions of ctype.h Signed-off-by: Michael Brown --- src/core/ctype.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/core') diff --git a/src/core/ctype.c b/src/core/ctype.c index 2941daf9d..891af71ea 100644 --- a/src/core/ctype.c +++ b/src/core/ctype.c @@ -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' : -- cgit v1.2.3-55-g7522