Rewrite and filling of libc/ctype.c (thus adjusting copyright line).
authorUwe Hermann <uwe@hermann-uwe.de>
Fri, 11 Apr 2008 19:43:55 +0000 (19:43 +0000)
committerUwe Hermann <uwe@hermann-uwe.de>
Fri, 11 Apr 2008 19:43:55 +0000 (19:43 +0000)
commit72199bc49a7ac72fd89c1ddf105c000d457b01ad
tree07708f1354ba4ae5cb84a6cd8848ad88166d0449
parentb103345a14cf3fe28f32573833dd06af66dfadaf
Rewrite and filling of libc/ctype.c (thus adjusting copyright line).

Use a simple one-liner for each of the functions. You can surely optimize
the code some more, but I chose not to do that in order to keep it readable.
When compiling with -Os the size differences are minimal.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3236 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
payloads/libpayload/include/libpayload.h
payloads/libpayload/libc/ctype.c