diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-09-10 16:50:28 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-09-10 16:50:28 -0400 |
commit | d063d164335938d557460bebaa7cfe388157b627 (patch) | |
tree | 92ef3f54771c0a28190b76ee45f90d16fd39714f /csu/errno-loc.c | |
parent | 3ce1f2959437e952b9db4eaeed2407424f11a4d1 (diff) | |
download | glibc-d063d164335938d557460bebaa7cfe388157b627.zip glibc-d063d164335938d557460bebaa7cfe388157b627.tar.gz glibc-d063d164335938d557460bebaa7cfe388157b627.tar.bz2 |
Remove support for !USE___THREAD
Diffstat (limited to 'csu/errno-loc.c')
-rw-r--r-- | csu/errno-loc.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/csu/errno-loc.c b/csu/errno-loc.c index 633590f..f7de2b7 100644 --- a/csu/errno-loc.c +++ b/csu/errno-loc.c @@ -1,6 +1,6 @@ /* MT support function to get address of `errno' variable, non-threaded version. - Copyright (C) 1996, 1998, 2002, 2004 Free Software Foundation, Inc. + Copyright (C) 1996, 1998, 2002, 2004, 2011 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -21,15 +21,7 @@ #include <errno.h> #include <tls.h> -#if ! USE___THREAD && !RTLD_PRIVATE_ERRNO -#undef errno -extern int errno; -#endif - int * -#if ! USE___THREAD -weak_const_function -#endif __errno_location (void) { return &errno; |