about summary refs log tree commit diff
path: root/src/network
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-07-12 02:52:06 -0400
committerRich Felker <dalias@aerifal.cx>2011-07-12 02:52:06 -0400
commitc3c5e88c31b78f7b32b3d8b5c2450d75fa858951 (patch)
treed04abc05e3033f496368bfc0749c6863ef8257ea /src/network
parent95a85e047e2353959735d93de91df717a4b90900 (diff)
downloadmusl-c3c5e88c31b78f7b32b3d8b5c2450d75fa858951.tar.gz
musl-c3c5e88c31b78f7b32b3d8b5c2450d75fa858951.tar.xz
musl-c3c5e88c31b78f7b32b3d8b5c2450d75fa858951.zip
"implement" getnetbyaddr and getnetbyname
these are useless legacy functions but some old software contains
cruft that expects them to exist...
Diffstat (limited to 'src/network')
-rw-r--r--src/network/netname.c12
1 files changed, 12 insertions, 0 deletions
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 <netdb.h>
+
+struct netent *getnetbyaddr(uint32_t net, int type)
+{
+	return 0;
+}
+
+struct netent *getnetbyname(const char *name)
+{
+	return 0;
+}
+