OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [newlib/] [libc/] [reent/] [impure.c] - Blame information for rev 438

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
#include <reent.h>
2
 
3
/* Note that there is a copy of this in sys/reent.h.  */
4
#ifndef __ATTRIBUTE_IMPURE_PTR__
5
#define __ATTRIBUTE_IMPURE_PTR__
6
#endif
7
 
8
#ifndef __ATTRIBUTE_IMPURE_DATA__
9
#define __ATTRIBUTE_IMPURE_DATA__
10
#endif
11
 
12
static struct _reent __ATTRIBUTE_IMPURE_DATA__ impure_data = _REENT_INIT (impure_data);
13
#ifdef __CYGWIN__
14
extern struct _reent reent_data __attribute__ ((alias("impure_data")));
15
#endif
16
struct _reent *__ATTRIBUTE_IMPURE_PTR__ _impure_ptr = &impure_data;
17
struct _reent *_CONST __ATTRIBUTE_IMPURE_PTR__ _global_impure_ptr = &impure_data;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.