From 053ec1b989085e0d59f84ded8641058715701a8b Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Fri, 3 Dec 2010 23:12:41 -0500 Subject: Replacing custom String.toInt() function with a call to atol(). --- cores/arduino/WCharacter.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'cores/arduino/WCharacter.h') diff --git a/cores/arduino/WCharacter.h b/cores/arduino/WCharacter.h index 9b3e7fc..79733b5 100644 --- a/cores/arduino/WCharacter.h +++ b/cores/arduino/WCharacter.h @@ -20,8 +20,7 @@ #ifndef Character_h #define Character_h - -#include "WProgram.h" +#include // WCharacter.h prototypes inline boolean isAlphaNumeric(int c) __attribute__((always_inline)); @@ -117,8 +116,8 @@ inline boolean isPunct(int c) // Checks for white-space characters. For the avr-libc library, -// these are: space, formfeed (’\f’), newline (’\n’), carriage -// return (’\r’), horizontal tab (’\t’), and vertical tab (’\v’). +// these are: space, formfeed ('\f'), newline ('\n'), carriage +// return ('\r'), horizontal tab ('\t'), and vertical tab ('\v'). inline boolean isSpace(int c) { return ( isspace (c) == 0 ? false : true); -- cgit v1.2.3-18-g5258