From 006a4300290572df5e42827e1e33935ea8cefc8b Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 18 Jan 2014 13:22:20 -0600 Subject: [PATCH] ctypes.h: Fix typo in macro name iscontrol->iscntrl --- ChangeLog | 2 ++ include/ctype.h | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ee7ce782968..8673c594f4d 100644 --- a/ChangeLog +++ b/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/include/ctype.h b/include/ctype.h index 22b325eefd3..fdcaad8dbed 100644 --- a/include/ctype.h +++ b/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 * * 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