From 8da931c772fa71da7e4d638fe310533b8e124ca3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 21 Feb 2007 08:16:28 +0000 Subject: redo errno handling so that it should work both in thread and non-threaded situations --- libc/misc/internals/__errno_location.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libc/misc/internals/__errno_location.c') 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 -#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) -- cgit v1.2.3