]> git.baikalelectronics.ru Git - kernel.git/commit
tools/nolibc/stdlib: move ltoa() to stdlib.h
authorWilly Tarreau <w@1wt.eu>
Mon, 7 Feb 2022 16:23:26 +0000 (17:23 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 21 Apr 2022 00:05:43 +0000 (17:05 -0700)
commit5a85ff459c625cee9e5eeb85cb203093137ee0d9
treedbaa391060f6bbab4865adc04978c4349ceb3c8f
parenta8d53be9d8509471279a52f666a90fe80081b250
tools/nolibc/stdlib: move ltoa() to stdlib.h

This function is not standard and performs the opposite of atol(). Let's
move it with atol(). It's been split between a reentrant function and one
using a static buffer.

There's no more definition in nolibc.h anymore now.

Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/include/nolibc/nolibc.h
tools/include/nolibc/stdlib.h