From: Rich Felker Date: Tue, 12 Jul 2011 06:52:06 +0000 (-0400) Subject: "implement" getnetbyaddr and getnetbyname X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=c3c5e88c31b78f7b32b3d8b5c2450d75fa858951;hp=95a85e047e2353959735d93de91df717a4b90900 "implement" getnetbyaddr and getnetbyname these are useless legacy functions but some old software contains cruft that expects them to exist... --- diff --git a/src/network/netname.c b/src/network/netname.c new file mode 100644 index 00000000..ba6e6656 --- /dev/null +++ b/src/network/netname.c @@ -0,0 +1,12 @@ +#include + +struct netent *getnetbyaddr(uint32_t net, int type) +{ + return 0; +} + +struct netent *getnetbyname(const char *name) +{ + return 0; +} +