From c3c5e88c31b78f7b32b3d8b5c2450d75fa858951 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 12 Jul 2011 02:52:06 -0400 Subject: [PATCH] "implement" getnetbyaddr and getnetbyname these are useless legacy functions but some old software contains cruft that expects them to exist... --- src/network/netname.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/network/netname.c 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; +} + -- 2.25.1