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