lib: Split panic functions out of vsprintf.c
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Fri, 4 Dec 2015 22:27:38 +0000 (23:27 +0100)
committerSimon Glass <sjg@chromium.org>
Mon, 14 Dec 2015 00:07:30 +0000 (17:07 -0700)
commit2b22a99c65c437891ab88703dff25e256f78c21f
treeee3c720c2ed2de4509a97c495afc588168ef145a
parent962a43cc9628fcfc048c563e0fd295b8743e0504
lib: Split panic functions out of vsprintf.c

To allow panic and panic_str to still be used when using tiny-printf,
split them out into their own file which gets build regardless of what
printf implementation is used.

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
lib/Makefile
lib/panic.c [new file with mode: 0644]
lib/vsprintf.c