summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-06-04 04:39:34 -0400
committerRich Felker <dalias@aerifal.cx>2014-06-06 17:57:36 -0400
commit8daa49cdfd5c74fb8edf931394be11c62b915e52 (patch)
treeba0af709532233b160e818000b8f1cd7566686dc /src
parentf8b5cc8a7e7482560f1b781d43a271c496a6d55c (diff)
downloadmusl-8daa49cdfd5c74fb8edf931394be11c62b915e52.tar.gz
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)
Diffstat (limited to 'src')
-rw-r--r--src/network/ent.c8
1 files changed, 0 insertions, 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);