diff options
Diffstat (limited to 'cpukit/libcsupport/src/newlibc.c')
-rw-r--r-- | cpukit/libcsupport/src/newlibc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/newlibc.c b/cpukit/libcsupport/src/newlibc.c index ef151c6e81..35fa3ee1b5 100644 --- a/cpukit/libcsupport/src/newlibc.c +++ b/cpukit/libcsupport/src/newlibc.c @@ -51,7 +51,7 @@ int _fwalk(struct _reent *ptr, int (*function) (FILE *) ); int libc_reentrant; /* do we think we are reentrant? */ -struct _reent libc_global_reent; +struct _reent libc_global_reent __ATTRIBUTE_IMPURE_PTR__ = _REENT_INIT(libc_global_reent); /* * CYGNUS newlib routine that does atexit() processing and flushes @@ -305,7 +305,7 @@ libc_init(int reentrant) rtems_status_code rc; rtems_id extension_id; - libc_global_reent = (struct _reent) _REENT_INIT((libc_global_reent)); +/* libc_global_reent = _REENT_INIT(libc_global_reent); */ _REENT = &libc_global_reent; if (reentrant) { |