about summary refs log tree commit diff
path: root/inet
diff options
context:
space:
mode:
Diffstat (limited to 'inet')
-rw-r--r--inet/ether_hton.c10
-rw-r--r--inet/ether_ntoh.c9
2 files changed, 0 insertions, 19 deletions
diff --git a/inet/ether_hton.c b/inet/ether_hton.c
index 8a1325b728..66ec866780 100644
--- a/inet/ether_hton.c
+++ b/inet/ether_hton.c
@@ -24,16 +24,6 @@
 
 #include "../nss/nsswitch.h"
 
-/* Because the `ethers' lookup does not fit so well in the scheme so
-   we define a dummy struct here which helps us to use the available
-   functions.  */
-struct etherent
-{
-  const char *e_name;
-  struct ether_addr e_addr;
-};
-
-
 /* Type of the lookup function we need here.  */
 typedef int (*lookup_function) (const char *, struct etherent *, char *, int,
 				int *);
diff --git a/inet/ether_ntoh.c b/inet/ether_ntoh.c
index 6937201c03..d26ec3b317 100644
--- a/inet/ether_ntoh.c
+++ b/inet/ether_ntoh.c
@@ -23,15 +23,6 @@
 
 #include <nss/nsswitch.h>
 
-/* Because the `ethers' lookup does not fit so well in the scheme so
-   we define a dummy struct here which helps us to use the available
-   functions.  */
-struct etherent
-{
-  const char *e_name;
-  struct ether_addr e_addr;
-};
-
 
 /* Type of the lookup function we need here.  */
 typedef int (*lookup_function) (const struct ether_addr *, struct etherent *,