repo.or.cz
/
zpugcc
/
jano.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fixes for host gcc 4.6.1
[zpugcc/jano.git]
/
toolchain
/
gcc
/
newlib
/
libc
/
errno
/
errno.c
blob
fd1743d73625bf098fc23af9c06924381f840139
1
/* The errno variable is stored in the reentrancy structure. This
2
function returns its address for use by the macro errno defined in
3
errno.h. */
4
5
#include <errno.h>
6
#include <reent.h>
7
8
#ifndef _REENT_ONLY
9
10
int
*
11
__errno
()
12
{
13
return
&
_REENT
->
_errno
;
14
}
15
16
#endif