On Fri, Aug 01, 2025 at 04:51:54PM +0300, Vladimir 'phcoder' Serbinenko wrote: > Please don't put it into kernel unless it's used by the kernel. lib/ would be > a > better fit
Whole family of grub_str*() functions live in grub-core/kern/misc.c. So, I am not sure why we should make an exception here. Additionally, we do not care about the GRUB kernel size as we did in the past. So, due to these reasons I would stick with grub-core/kern/misc.c for grub_strtok() and grub_strtok_r(). Daniel _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel