summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-07-01 13:50:02 -0400
committerRich Felker <dalias@aerifal.cx>2013-07-01 13:50:02 -0400
commitfbcd82040cb67ee14886c6ac4c200cde3662f986 (patch)
treeb988b9f5b79ba702a417fb67d27fe5cb50dbcfe8 /include
parentd66ab4f1409ad1a2093239ef48b7bca596acdf52 (diff)
downloadmusl-fbcd82040cb67ee14886c6ac4c200cde3662f986.tar.gz
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 'include')
-rw-r--r--include/netinet/ether.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/netinet/ether.h b/include/netinet/ether.h
index c5179d5e..d64c9ef5 100644
--- a/include/netinet/ether.h
+++ b/include/netinet/ether.h
@@ -4,11 +4,11 @@
#include <netinet/if_ether.h>
char *ether_ntoa (const struct ether_addr *);
-
struct ether_addr *ether_aton (const char *);
-
char *ether_ntoa_r (const struct ether_addr *, char *);
-
struct ether_addr *ether_aton_r (const char *, struct ether_addr *);
+int ether_line(const char *, struct ether_addr *, char *);
+int ether_ntohost(char *, const struct ether_addr *);
+int ether_hostton(const char *, struct ether_addr *);
#endif