[PATCH 1/5] lib: string: retire deprecated strtok() in favor of reentrant strsep()
Sascha Hauer
s.hauer at pengutronix.de
Tue Sep 15 03:26:22 EDT 2020
On Mon, Sep 14, 2020 at 03:37:44PM +0200, Ahmad Fatoum wrote:
> With the recent changes to ARCH=sandbox, there are no remaining
> in-tree users for strtok() anymore. Out-of-tree users are better
> served by using the reentrant strsep(), which has existed in-tree
> for as long.
>
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
> Should be applied after <20200914100553.24808-1-a.fatoum at pengutronix.de>
> ---
> include/linux/string.h | 2 --
> lib/string.c | 35 +++--------------------------------
> 2 files changed, 3 insertions(+), 34 deletions(-)
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list