2022-06-17 14:59:56 +00:00
|
|
|
/*
|
2024-04-11 12:31:06 +00:00
|
|
|
* SPDX-FileCopyrightText: 2020-2024 Espressif Systems (Shanghai) CO LTD
|
2022-06-17 14:59:56 +00:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2020-11-06 04:00:07 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2023-08-09 08:11:54 +00:00
|
|
|
#define _REENT_BACKWARD_BINARY_COMPAT
|
|
|
|
#define _REENT_SDIDINIT(_ptr) ((_ptr)->_reserved_0)
|
|
|
|
#define _REENT_SGLUE(_ptr) (__sglue)
|
|
|
|
|
2020-11-06 04:00:07 +00:00
|
|
|
#include_next<sys/reent.h>
|
|
|
|
|
2022-07-04 09:53:42 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2024-02-27 02:00:06 +00:00
|
|
|
extern void __sinit(struct _reent *);
|
2023-08-09 08:11:54 +00:00
|
|
|
|
|
|
|
extern struct _glue __sglue;
|
|
|
|
extern struct _reent * _global_impure_ptr;
|
|
|
|
|
2022-07-04 09:53:42 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|