diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-06-04 04:39:34 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-06-06 17:57:36 -0400 |
commit | 8daa49cdfd5c74fb8edf931394be11c62b915e52 (patch) | |
tree | ba0af709532233b160e818000b8f1cd7566686dc | |
parent | f8b5cc8a7e7482560f1b781d43a271c496a6d55c (diff) | |
download | musl-8daa49cdfd5c74fb8edf931394be11c62b915e52.tar.gz musl-8daa49cdfd5c74fb8edf931394be11c62b915e52.tar.bz2 musl-8daa49cdfd5c74fb8edf931394be11c62b915e52.tar.xz musl-8daa49cdfd5c74fb8edf931394be11c62b915e52.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.
(cherry picked from commit 934aa1350b96461f205ad69c95e8f6f035f6b62c)
-rw-r--r-- | src/network/ent.c | 8 |
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); |