diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-02-21 08:16:28 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-02-21 08:16:28 +0000 |
commit | 8da931c772fa71da7e4d638fe310533b8e124ca3 (patch) | |
tree | 0de4b4f25e999e72d989bf031abbd3e87023ee05 /libc/misc/internals/__errno_location.c | |
parent | 4fd21f190d732d724efd2cb59a0ced85bad80978 (diff) |
redo errno handling so that it should work both in thread and non-threaded situations
Diffstat (limited to 'libc/misc/internals/__errno_location.c')
-rw-r--r-- | libc/misc/internals/__errno_location.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libc/misc/internals/__errno_location.c b/libc/misc/internals/__errno_location.c index 5a2af36fd..a44bf6062 100644 --- a/libc/misc/internals/__errno_location.c +++ b/libc/misc/internals/__errno_location.c @@ -4,10 +4,7 @@ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ -#include <errno.h> -#undef errno -extern int errno; -libc_hidden_proto(errno) +#include "internal_errno.h" /* psm: moved to bits/errno.h: libc_hidden_proto(__errno_location) */ libc_hidden_proto(__errno_location) |