summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-06-04 04:39:34 -0400
committerRich Felker <dalias@aerifal.cx>2014-06-04 04:39:34 -0400
commit934aa1350b96461f205ad69c95e8f6f035f6b62c (patch)
tree11caf954dd28e55b514ca915ce00276c45c0176e /src/network
parent6a25313c1122629b43b990ada70af1c209f03a54 (diff)
downloadmusl-934aa1350b96461f205ad69c95e8f6f035f6b62c.tar.gz
musl-934aa1350b96461f205ad69c95e8f6f035f6b62c.tar.bz2
musl-934aa1350b96461f205ad69c95e8f6f035f6b62c.tar.xz
musl-934aa1350b96461f205ad69c95e8f6f035f6b62c.zip
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.
Diffstat (limited to 'src/network')
-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);