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 4c2f24b59ca8d5e4c899336a473ff9e9a15515d5..ececdc4866b0d8c8e56eb8d1996c7f8d9a04838d 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);