about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-04-23 18:08:37 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-04-23 18:08:37 +0200
commit2b6a4307e96d0ffffb72edada27574c4658bd9a0 (patch)
tree9244ccf63fd7f8ff5fc22b50ffa48945fd7e8d97 /nptl
parent4baf02b33235b7cdcb252bafebc132c66020eedd (diff)
downloadglibc-2b6a4307e96d0ffffb72edada27574c4658bd9a0.tar.gz
glibc-2b6a4307e96d0ffffb72edada27574c4658bd9a0.tar.xz
glibc-2b6a4307e96d0ffffb72edada27574c4658bd9a0.zip
nptl: Remove __res_state from libpthread
The existing definition in libc will be used instead.

The symbol was moved (that is, removed) using
scripts/move-symbol-to-libc.py.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/Makefile1
-rw-r--r--nptl/Versions1
-rw-r--r--nptl/res.c26
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;
-}