From 8daa49cdfd5c74fb8edf931394be11c62b915e52 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 4 Jun 2014 04:39:34 -0400 Subject: remove some dummy "ent" function aliases that duplicated real ones the service and protocol functions are defined also in other files, and the protocol ones are actually non-nops elsewhere, so the weak definitions in ent.c could have prevented the strong definitions from getting pulled in and used in some static programs. (cherry picked from commit 934aa1350b96461f205ad69c95e8f6f035f6b62c) --- src/network/ent.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/network/ent.c b/src/network/ent.c index 4c2f24b5..ececdc48 100644 --- a/src/network/ent.c +++ b/src/network/ent.c @@ -16,11 +16,3 @@ void endhostent(void) weak_alias(sethostent, setnetent); weak_alias(gethostent, getnetent); weak_alias(endhostent, endnetent); - -weak_alias(sethostent, setservent); -weak_alias(gethostent, getservent); -weak_alias(endhostent, endservent); - -weak_alias(sethostent, setprotoent); -weak_alias(gethostent, getprotoent); -weak_alias(endhostent, endprotoent); -- cgit v1.2.1