summaryrefslogtreecommitdiff
path: root/common/kgdb_stubs.c
diff options
context:
space:
mode:
authorJason Hobbs <jason.hobbs@calxeda.com>2011-08-23 11:06:52 +0000
committerWolfgang Denk <wd@denx.de>2011-10-17 22:25:34 +0200
commit93337abbfe2951c63a4e7b450da1848c6c69217f (patch)
treeedd9a0d1ce9318fab3aff96bf23a0c69fc91fe8f /common/kgdb_stubs.c
parentc8a2079e49ee15dde10278865425ec9c36215f31 (diff)
downloadu-boot-imx-93337abbfe2951c63a4e7b450da1848c6c69217f.zip
u-boot-imx-93337abbfe2951c63a4e7b450da1848c6c69217f.tar.gz
u-boot-imx-93337abbfe2951c63a4e7b450da1848c6c69217f.tar.bz2
Add isblank
Existing ctype checks are implemented using a 256 byte lookup table, allowing each character to be in any of 8 character classes. Since there are 8 existing character classes without the blank class, I implemented isblank without using the lookup table. Since there are only two blank characters - tab and space - this is a more reasonable approach than doubling the size of the lookup table to accommodate one more class. Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com>
Diffstat (limited to 'common/kgdb_stubs.c')
0 files changed, 0 insertions, 0 deletions