summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-01-18 13:22:20 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-01-18 13:22:20 -0600
commitc9b418b1c130431a65e94aeee411811c7eebeff2 (patch)
treee8e386722f34fda52e095bffbc7afbc649a62f8b
parent5059be1f656be2eb042e240a05b21d9bc72955d7 (diff)
downloadnuttx-c9b418b1c130431a65e94aeee411811c7eebeff2.tar.gz
nuttx-c9b418b1c130431a65e94aeee411811c7eebeff2.tar.bz2
nuttx-c9b418b1c130431a65e94aeee411811c7eebeff2.zip
ctypes.h: Fix typo in macro name iscontrol->iscntrl
-rw-r--r--nuttx/ChangeLog2
-rw-r--r--nuttx/include/ctype.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog
index ee7ce7829..8673c594f 100644
--- a/nuttx/ChangeLog
+++ b/nuttx/ChangeLog
@@ -6484,3 +6484,5 @@
ostest/Make.defs: Add a configuration option to select the -m32
compiler option when building for a 32-bit target on a native 64-bit
compiler (2014-1-18).
+ * include/ctype.h: Typo in macro name: iscntrol, not iscontrol (2104-1-17)
+
diff --git a/nuttx/include/ctype.h b/nuttx/include/ctype.h
index 22b325eef..fdcaad8db 100644
--- a/nuttx/include/ctype.h
+++ b/nuttx/include/ctype.h
@@ -1,7 +1,7 @@
/****************************************************************************
* include/ctype.h
*
- * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2009, 2011, 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -102,7 +102,7 @@
*
****************************************************************************/
-#define iscontrol(c) (!isprint(c))
+#define iscntrl(c) (!isprint(c))
/****************************************************************************
* Name: islower