mirror of
git://git.musl-libc.org/musl
synced 2025-02-02 12:01:40 +00:00
"implement" getnetbyaddr and getnetbyname
these are useless legacy functions but some old software contains cruft that expects them to exist...
This commit is contained in:
parent
95a85e047e
commit
c3c5e88c31
12
src/network/netname.c
Normal file
12
src/network/netname.c
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#include <netdb.h>
|
||||||
|
|
||||||
|
struct netent *getnetbyaddr(uint32_t net, int type)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
struct netent *getnetbyname(const char *name)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user