2008-04-15 19:57:48 +00:00
|
|
|
#include <reent.h>
|
|
|
|
|
|
|
|
/* Note that there is a copy of this in sys/reent.h. */
|
|
|
|
#ifndef __ATTRIBUTE_IMPURE_PTR__
|
|
|
|
#define __ATTRIBUTE_IMPURE_PTR__
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef __ATTRIBUTE_IMPURE_DATA__
|
|
|
|
#define __ATTRIBUTE_IMPURE_DATA__
|
|
|
|
#endif
|
|
|
|
|
2008-04-16 18:46:20 +00:00
|
|
|
struct _reent __ATTRIBUTE_IMPURE_DATA__ _impure_data = _REENT_INIT(_impure_data);
|
2008-04-15 19:57:48 +00:00
|
|
|
struct _reent *__ATTRIBUTE_IMPURE_PTR__ _impure_ptr = &_impure_data;
|
2017-12-03 20:25:16 -06:00
|
|
|
struct _reent *const __ATTRIBUTE_IMPURE_PTR__ _global_impure_ptr = &_impure_data;
|