diff options
author | Andreas Schwab <schwab@suse.de> | 2017-10-10 14:09:02 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2017-10-11 15:51:52 +0200 |
commit | 2faa42daa886cc176dfc10fef2308c9191a6ec7f (patch) | |
tree | 3d40397552004382b7da9af9da37692657fc7dec /nscd/nscd_hash.c | |
parent | d8425e116cdd954fea0c04c0f406179b5daebbb3 (diff) | |
download | glibc-2faa42daa886cc176dfc10fef2308c9191a6ec7f.tar.gz glibc-2faa42daa886cc176dfc10fef2308c9191a6ec7f.tar.xz glibc-2faa42daa886cc176dfc10fef2308c9191a6ec7f.zip |
nscd: remove reference to libnsl
This removes the dependency on libnsl from nscd. It only used __nis_hash, build its own copy under the name __nscd_hash.
Diffstat (limited to 'nscd/nscd_hash.c')
-rw-r--r-- | nscd/nscd_hash.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/nscd/nscd_hash.c b/nscd/nscd_hash.c new file mode 100644 index 0000000000..1572af616a --- /dev/null +++ b/nscd/nscd_hash.c @@ -0,0 +1,19 @@ +/* Copyright (C) 2017 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 + <http://www.gnu.org/licenses/>. */ + +#define __nis_hash __nscd_hash +#include <nis/nis_hash.c> |