Fixed compilation error for esp32c2 and esp32h2 when os_mbuf_free is called

This commit is contained in:
Rahul Tank
2024-02-14 17:47:46 +05:30
committed by Abhinav Kudnar
parent 78f8373235
commit 72e3d6f6d5
+8 -1
View File
@@ -1,3 +1,10 @@
/*
* SPDX-FileCopyrightText: 2015-2022 The Apache Software Foundation (ASF)
*
* SPDX-License-Identifier: Apache-2.0
*
* SPDX-FileContributor: 2019-2022 Espressif Systems (Shanghai) CO LTD
*/
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
@@ -484,7 +491,7 @@ int r_os_mbuf_appendfrom(struct os_mbuf *dst, const struct os_mbuf *src,
*
* @return 0 on success, -1 on failure
*/
int os_mbuf_free(struct os_mbuf *mb);
int r_os_mbuf_free(struct os_mbuf *mb);
#define os_mbuf_free r_os_mbuf_free