diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2009-10-17 03:45:53 +0200 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2009-11-22 11:23:44 -0800 |
commit | 87a280d3e480d9c7dccd19e2984b1f9e576e69d7 (patch) | |
tree | 23412b459ad3c59f6098976d92b293b7cb2146eb /include/netinet/ether.h | |
parent | b88b64bd06d9c0945e53a99b6ea840f38358df99 (diff) | |
download | uClibc-alpine-87a280d3e480d9c7dccd19e2984b1f9e576e69d7.tar.bz2 uClibc-alpine-87a280d3e480d9c7dccd19e2984b1f9e576e69d7.tar.xz |
sync some headers and disable unused prototypes
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'include/netinet/ether.h')
-rw-r--r-- | include/netinet/ether.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/netinet/ether.h b/include/netinet/ether.h index 3d8902f50..5e89dfe9e 100644 --- a/include/netinet/ether.h +++ b/include/netinet/ether.h @@ -25,7 +25,9 @@ /* Get definition of `struct ether_addr'. */ #include <netinet/if_ether.h> +#ifdef _LIBC #define ETHER_FILE_NAME "/etc/ethers" +#endif __BEGIN_DECLS @@ -41,6 +43,7 @@ extern struct ether_addr *ether_aton_r (__const char *__asc, struct ether_addr *__addr) __THROW; libc_hidden_proto(ether_aton_r) +#if 0 /* Map 48 bit Ethernet number ADDR to HOSTNAME. */ extern int ether_ntohost (char *__hostname, __const struct ether_addr *__addr) __THROW; @@ -52,6 +55,7 @@ extern int ether_hostton (__const char *__hostname, struct ether_addr *__addr) /* Scan LINE and set ADDR and HOSTNAME. */ extern int ether_line (__const char *__line, struct ether_addr *__addr, char *__hostname) __THROW; +#endif __END_DECLS |