2022-06-17 10:59:56 -04:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2020-11-05 23:00:07 -05:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include_next<sys/reent.h>
|
|
|
|
|
2022-07-04 05:53:42 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2020-11-05 23:00:07 -05:00
|
|
|
/* 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);
|
2022-07-04 05:53:42 -04:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|