]> git.ipfire.org Git - people/ms/u-boot.git/commit - lib/fdtdec.c
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)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Jul 2015 23:39:28 +0000 (17:39 -0600)
commitc4af6732c4021ffe8b3d0c82bdcf1eebb263bfc3
treeb34c0808db76437623e8c1f887ea24d36df91d59
parent1acab96d974a1b9f35cbc901f68ef00653d18738
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