diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-07-12 02:52:06 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-07-12 02:52:06 -0400 |
commit | c3c5e88c31b78f7b32b3d8b5c2450d75fa858951 (patch) | |
tree | d04abc05e3033f496368bfc0749c6863ef8257ea /src/network/netname.c | |
parent | 95a85e047e2353959735d93de91df717a4b90900 (diff) | |
download | musl-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/netname.c')
-rw-r--r-- | src/network/netname.c | 12 |
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; +} + |