diff options
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/Makefile | 1 | ||||
-rw-r--r-- | nptl/Versions | 1 | ||||
-rw-r--r-- | nptl/res.c | 26 |
3 files changed, 0 insertions, 28 deletions
diff --git a/nptl/Makefile b/nptl/Makefile index a736ad7e7a..80b699b750 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -203,7 +203,6 @@ libpthread-routines = \ pthread_timedjoin \ pthread_tryjoin \ pthread_yield \ - res \ sem_clockwait \ sem_close \ sem_destroy \ diff --git a/nptl/Versions b/nptl/Versions index 760c066382..6982b17850 100644 --- a/nptl/Versions +++ b/nptl/Versions @@ -308,7 +308,6 @@ libpthread { __pthread_rwlock_init; __pthread_rwlock_tryrdlock; __pthread_rwlock_trywrlock; - __res_state; pthread_attr_getstack; pthread_attr_setstack; pthread_barrier_destroy; diff --git a/nptl/res.c b/nptl/res.c deleted file mode 100644 index 24b711d080..0000000000 --- a/nptl/res.c +++ /dev/null @@ -1,26 +0,0 @@ -/* Copyright (C) 2002-2021 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 - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - <https://www.gnu.org/licenses/>. */ - -#include <features.h> -#include <resolv.h> -#include <tls.h> - -struct __res_state * -__res_state (void) -{ - return __resp; -} |