summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwumingzi <[email protected]>2024-12-13 15:48:21 +0800
committerMeco Man <[email protected]>2024-12-14 12:40:39 -0500
commitc1166e0bf16aeda85e5facd01506973afcf6e8c6 (patch)
tree3bfeec32d8afa1d4466d8575d3f8f6165b7ecbf8
parent7ff75e21fad3e851090a9f9fcb14d0411949f2f8 (diff)
[OFW] Delete redundant strcasecmp function
-rw-r--r--components/drivers/ofw/base.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/components/drivers/ofw/base.c b/components/drivers/ofw/base.c
index 08e37f98ce..78a2e9fc32 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);
}