[U-Boot] [PATCH v4 06/13] Replace space and tab checks with isblank
Mike Frysinger
vapier at gentoo.org
Tue Aug 23 23:42:59 CEST 2011
On Tuesday, August 23, 2011 17:06:54 Jason Hobbs wrote:
> - while (*nn == ' ' || *nn == '\t')
> + while (isblank(*nn))
> nn++;
at least for these "walking forward" ones, they could be replaced with:
nn += strspn(nn, " \t");
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110823/f791462e/attachment.pgp
More information about the U-Boot
mailing list