summaryrefslogtreecommitdiffstats
path: root/src/core/ctype.c
diff options
context:
space:
mode:
authorMichael Brown2015-03-02 15:41:49 +0100
committerMichael Brown2015-03-02 17:35:37 +0100
commitd1f0e89e4e898c877d0f05ee0c1405b62049e795 (patch)
treef10d98d07ecd1532cf437611d88b407b1f44d062 /src/core/ctype.c
parent[libc] Rewrite unrelicensable portions of stddef.h (diff)
downloadipxe-d1f0e89e4e898c877d0f05ee0c1405b62049e795.tar.gz
ipxe-d1f0e89e4e898c877d0f05ee0c1405b62049e795.tar.xz
ipxe-d1f0e89e4e898c877d0f05ee0c1405b62049e795.zip
[libc] Rewrite unrelicensable portions of ctype.h
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/core/ctype.c')
-rw-r--r--src/core/ctype.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/ctype.c b/src/core/ctype.c
index 2941daf9..891af71e 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' :