summaryrefslogtreecommitdiff
path: root/include/netinet/ether.h
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2009-11-22 11:46:31 -0800
committerAustin Foxley <austinf@cetoncorp.com>2009-11-22 11:51:37 -0800
commitf757db2d319ccc5f7034165046fb2bb58901afb1 (patch)
tree7dc465febb3a802d3f0e8856fcda856b13b04c0a /include/netinet/ether.h
parent76c0c0ed99f74b8a5965be6e1c6a0c0e7a72513c (diff)
parentb71274eebd68b7c68ab95c856f8075bdf4524cd7 (diff)
Merge remote branch 'origin/master' into nptl_merge
Conflicts: Rules.mak libc/misc/sysvipc/msgq.c test/Rules.mak Signed-off-by: Austin Foxley <austinf@cetoncorp.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