diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-07-01 13:50:02 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-07-01 13:50:02 -0400 |
commit | fbcd82040cb67ee14886c6ac4c200cde3662f986 (patch) | |
tree | b988b9f5b79ba702a417fb67d27fe5cb50dbcfe8 /src/network | |
parent | d66ab4f1409ad1a2093239ef48b7bca596acdf52 (diff) | |
download | musl-fbcd82040cb67ee14886c6ac4c200cde3662f986.tar.gz musl-fbcd82040cb67ee14886c6ac4c200cde3662f986.tar.bz2 musl-fbcd82040cb67ee14886c6ac4c200cde3662f986.tar.xz musl-fbcd82040cb67ee14886c6ac4c200cde3662f986.zip |
add stubs for additional legacy ether.h functions
these would not be expensive to actually implement, but reading
/etc/ethers does not sound like a particularly useful feature, so for
now I'm leaving them as stubs.
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/ether.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/network/ether.c b/src/network/ether.c index ac55411a..4304a972 100644 --- a/src/network/ether.c +++ b/src/network/ether.c @@ -41,3 +41,18 @@ char *ether_ntoa (const struct ether_addr *p_a) { static char x[18]; return ether_ntoa_r (p_a, x); } + +int ether_line(const char *l, struct ether_addr *e, char *hostname) +{ + return -1; +} + +int ether_ntohost(char *hostname, const struct ether_addr *e) +{ + return -1; +} + +int ether_hostton(const char *hostname, struct ether_addr *e) +{ + return -1; +} |