diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-04-23 18:08:37 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-04-23 18:08:37 +0200 |
commit | 2b6a4307e96d0ffffb72edada27574c4658bd9a0 (patch) | |
tree | 9244ccf63fd7f8ff5fc22b50ffa48945fd7e8d97 /nptl/res.c | |
parent | 4baf02b33235b7cdcb252bafebc132c66020eedd (diff) | |
download | glibc-2b6a4307e96d0ffffb72edada27574c4658bd9a0.zip glibc-2b6a4307e96d0ffffb72edada27574c4658bd9a0.tar.gz glibc-2b6a4307e96d0ffffb72edada27574c4658bd9a0.tar.bz2 |
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/res.c')
-rw-r--r-- | nptl/res.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/nptl/res.c b/nptl/res.c deleted file mode 100644 index 24b711d..0000000 --- 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; -} |