remove some dummy "ent" function aliases that duplicated real ones
authorRich Felker <dalias@aerifal.cx>
Wed, 4 Jun 2014 08:39:34 +0000 (04:39 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 4 Jun 2014 08:39:34 +0000 (04:39 -0400)
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.

src/network/ent.c

index 4c2f24b..ececdc4 100644 (file)
@@ -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);