]> git.sur5r.net Git - u-boot/commit
Make linux kernel string funcs available to tools
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 12 Dec 2012 04:16:18 +0000 (22:16 -0600)
committerTom Rini <trini@ti.com>
Thu, 13 Dec 2012 18:46:07 +0000 (11:46 -0700)
commite772cb30f649c1bb8c9cb15e4c05cbf0760f2f61
tree743ebd506adabfbe4961a63da5f4a4ac591dfea6
parent9960d9a8bccebc8418857c15de94a7bc23049573
Make linux kernel string funcs available to tools

isspace() and strim() are not in the typical user-mode string.h, so
put them in a separate compilation unit so that they can be built into
tools that need them independent of the other common string functions.

This allows code shared by u-boot and the linux user-mode tools to link.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
include/linux/linux_string.h [new file with mode: 0644]
include/linux/string.h
lib/Makefile
lib/linux_string.c [new file with mode: 0644]
lib/string.c