diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-04-29 01:14:07 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-04-29 01:14:07 +0000 |
commit | e0d4e91d2b0e8069fc044899cf04a41db3612ffb (patch) | |
tree | 6a3f542af192521f75572d7f2cf239ed68478288 /nis/nss_nis/nis-spwd.c | |
parent | 4eaa9bb48b319803544909a085651fc6ff4a9ea1 (diff) | |
download | glibc-e0d4e91d2b0e8069fc044899cf04a41db3612ffb.zip glibc-e0d4e91d2b0e8069fc044899cf04a41db3612ffb.tar.gz glibc-e0d4e91d2b0e8069fc044899cf04a41db3612ffb.tar.bz2 |
* nis/nss_nis/nis-spwd.c (internal_nis_getspent_r): Remove data
variable.
* nis/nss-nis.h: Define response_t and intern_t. Declare _nis_saveit.
* nis/nss_nis/nis-pwd.c: Remove response_t and intern_t definition.
(saveit): Renamed to _nis_saveit. Take parameter which is pointer
to the intern_t object. Change all users.
* nis/nss_nis/nis-grp.c: Remove response_t, intern_t, and saveit
definition. Use _nis_saveit instead of saveit.
* nis/nss_nis/nis-service.c: Likewise.
* nis/nss_nis/nis-initgroups.c: Likewise.
(internal_setgrent): Adjust for buffer handling.
(internal_getgrent_r): Likewise.
* nis/nss_nis/nis-rpc.c: Likewise.
Diffstat (limited to 'nis/nss_nis/nis-spwd.c')
-rw-r--r-- | nis/nss_nis/nis-spwd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/nis/nss_nis/nis-spwd.c b/nis/nss_nis/nis-spwd.c index 820bfb2..0fc4e17 100644 --- a/nis/nss_nis/nis-spwd.c +++ b/nis/nss_nis/nis-spwd.c @@ -68,8 +68,6 @@ static enum nss_status internal_nis_getspent_r (struct spwd *sp, char *buffer, size_t buflen, int *errnop) { - struct parser_data *data = (void *) buffer; - char *domain; if (__builtin_expect (yp_get_default_domain (&domain), 0)) return NSS_STATUS_UNAVAIL; |