From c1166e0bf16aeda85e5facd01506973afcf6e8c6 Mon Sep 17 00:00:00 2001 From: wumingzi <62127946+1078249029@users.noreply.github.com> Date: Fri, 13 Dec 2024 15:48:21 +0800 Subject: [PATCH] [OFW] Delete redundant strcasecmp function --- components/drivers/ofw/base.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/drivers/ofw/base.c b/components/drivers/ofw/base.c index 08e37f98ce9..78a2e9fc329 100644 --- a/components/drivers/ofw/base.c +++ b/components/drivers/ofw/base.c @@ -333,8 +333,6 @@ static int ofw_prop_index_of_string(struct rt_ofw_prop *prop, const char *string static rt_int32_t ofw_strcasecmp(const char *cs, const char *ct) { - extern rt_int32_t strcasecmp(const char *cs, const char *ct); - return rt_strcasecmp(cs, ct); }