summaryrefslogtreecommitdiff
path: root/include/netinet/ether.h
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2009-10-17 03:45:53 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-11-19 23:05:45 +0100
commit9a9fe3ad32b7f42650d6acdab484782320ae8e6d (patch)
tree4b5427a21b7fa4121a3a699f82c08a4cea564871 /include/netinet/ether.h
parenta193e5a08463ea97f55cb66ccd001f156ec7aa87 (diff)
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>
Diffstat (limited to 'include/netinet/ether.h')
-rw-r--r--include/netinet/ether.h4
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