1 /* 2 * SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #pragma once 8 9 #include_next<sys/reent.h> 10 11 #ifdef __cplusplus 12 extern "C" { 13 #endif 14 15 /* This function is not part of the newlib API, it is defined in libc/stdio/local.h 16 * There is no nice way to get __cleanup member populated while avoiding __sinit, 17 * so extern declaration is used here. 18 */ 19 extern void _cleanup_r(struct _reent* r); 20 21 #ifdef __cplusplus 22 } 23 #endif 24