tools/nolibc/string: remove open-coded strnlen()
authorThomas Weißschuh <linux@weissschuh.net>
Wed, 10 Apr 2024 21:27:06 +0000 (23:27 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Wed, 10 Apr 2024 21:27:06 +0000 (23:27 +0200)
commite93b912ecf6ab113c9d4ec9ced2fa30dfac24c70
treefd89ceb83b8c6122e7a65ce6d5e53edb37efaf3a
parent1063649cf531c276740b7f011df2eed82227ba92
tools/nolibc/string: remove open-coded strnlen()

The same header already defines an implementation of strnlen(),
so use it.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
tools/include/nolibc/string.h