2008-04-16 03:57:48 +08: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-17 02:46:20 +08:00
|
|
|
struct _reent __ATTRIBUTE_IMPURE_DATA__ _impure_data = _REENT_INIT(_impure_data);
|
2008-04-16 03:57:48 +08:00
|
|
|
struct _reent *__ATTRIBUTE_IMPURE_PTR__ _impure_ptr = &_impure_data;
|
|
|
|
struct _reent *_CONST __ATTRIBUTE_IMPURE_PTR__ _global_impure_ptr = &_impure_data;
|