]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
lib: Add function to extract a number from the end of a string
authorSimon Glass <sjg@chromium.org>
Tue, 23 Jun 2015 21:39:08 +0000 (15:39 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:48:53 +0000 (13:48 +0200)
commit69d518560f97f237fbc0a252cf50fa863b254d85
tree524ee539f22b482b40167a44f39b7645abfd9de7
parent4143d4e3ce4b55f6e274522b43941145167afbf5
lib: Add function to extract a number from the end of a string

Split out the code in fdtdec which finds a number at the end of a string. It
can be useful in other situations.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/vsprintf.h
lib/fdtdec.c
lib/vsprintf.c