esp-idf/components/newlib/platform_include/sys/reent.h

24 lines
485 B
C
Raw Normal View History

/*
* SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include_next<sys/reent.h>
#ifdef __cplusplus
extern "C" {
#endif
/* This function is not part of the newlib API, it is defined in libc/stdio/local.h
* There is no nice way to get __cleanup member populated while avoiding __sinit,
* so extern declaration is used here.
*/
extern void _cleanup_r(struct _reent* r);
#ifdef __cplusplus
}
#endif