diff options
author | Andreas Jaeger <aj@suse.de> | 2000-12-21 14:38:26 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-12-21 14:38:26 +0000 |
commit | 6b083d46e4f8de4d50daa6e12a1692bc744e2b9a (patch) | |
tree | 4dec8b7b628bef4c829ec83ae3f5e6bc78ee635b /inet | |
parent | e3bb40e6bff112c40fd7a3afaade03d564b4a95a (diff) | |
download | glibc-6b083d46e4f8de4d50daa6e12a1692bc744e2b9a.zip glibc-6b083d46e4f8de4d50daa6e12a1692bc744e2b9a.tar.gz glibc-6b083d46e4f8de4d50daa6e12a1692bc744e2b9a.tar.bz2 |
* nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
* inet/ether_hton.c: Likewise
* inet/ether_ntoh.c: Likewise.
* nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
declaration to match prototype.
* include/netinet/ether.h (struct etherent): Declare here so that
all implementations use the same struct.
* nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
prototypes.
(struct ether): Removed.
Use struct etherent instead of ether everywhere.
* include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
* include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
* sunrpc/publickey.c: Include auth_des.h for prototypes.
Diffstat (limited to 'inet')
-rw-r--r-- | inet/ether_hton.c | 10 | ||||
-rw-r--r-- | inet/ether_ntoh.c | 9 |
2 files changed, 0 insertions, 19 deletions
diff --git a/inet/ether_hton.c b/inet/ether_hton.c index 8a1325b..66ec866 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 6937201..d26ec3b 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 *, |