"implement" getnetbyaddr and getnetbyname
authorRich Felker <dalias@aerifal.cx>
Tue, 12 Jul 2011 06:52:06 +0000 (02:52 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 12 Jul 2011 06:52:06 +0000 (02:52 -0400)
these are useless legacy functions but some old software contains
cruft that expects them to exist...

src/network/netname.c [new file with mode: 0644]

diff --git a/src/network/netname.c b/src/network/netname.c
new file mode 100644 (file)
index 0000000..ba6e665
--- /dev/null
@@ -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;
+}
+