diff options
Diffstat (limited to 'libgloss/or1k')
-rw-r--r-- | libgloss/or1k/impure.c | 2 | ||||
-rw-r--r-- | libgloss/or1k/or1k-internals.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libgloss/or1k/impure.c b/libgloss/or1k/impure.c index e94fd63..7780c91 100644 --- a/libgloss/or1k/impure.c +++ b/libgloss/or1k/impure.c @@ -108,7 +108,7 @@ _or1k_libc_getreent(void) { } #ifdef __OR1K_MULTICORE__ -struct _or1k_reent (*_or1k_reent)[]; +struct _or1k_reent *_or1k_reent; #else struct _or1k_reent _or1k_reent; #endif diff --git a/libgloss/or1k/or1k-internals.h b/libgloss/or1k/or1k-internals.h index 3aabdb0..d92c166 100644 --- a/libgloss/or1k/or1k-internals.h +++ b/libgloss/or1k/or1k-internals.h @@ -55,8 +55,8 @@ struct _or1k_reent { #ifdef __OR1K_MULTICORE__ -extern struct _or1k_reent (*_or1k_reent)[]; -#define OR1K_REENT (*_or1k_reent)[or1k_coreid()] +extern struct _or1k_reent *_or1k_reent; +#define OR1K_REENT _or1k_reent[or1k_coreid()] #else extern struct _or1k_reent _or1k_reent; #define OR1K_REENT _or1k_reent |