Include assert.
authordrepper <drepper>
Sat, 10 Sep 2005 03:16:29 +0000 (03:16 +0000)
committerdrepper <drepper>
Sat, 10 Sep 2005 03:16:29 +0000 (03:16 +0000)
commit172aab14684bccc7a8b42bb771e4bbf862c613d1
tree99fc08f814e09bada965dbe75b497e825f1ddc8f
parent01a784f11a116907e93be925c4dc811622245079
Include assert.
(setup): Remove FUNC_NAME and ALL arguments, assume they are always
"setnetgrent" and 1.
(endnetgrent_hook): New function.
(internal_endnetgrent): Use it.
(__internal_setnetgrent_reuse): Use it.  Adjust setup caller.
If status is NSS_STATUS_SUCCESS, yet action is continue, call
endnetgrent hook.
(internal_getnetgrent_r): Use __nss_lookup_function rather than
setup.  Recompute getfct pointer after successful
__internal_setnetgrent_reuse.  Don't use __nss_next.
(innetgr): Use __nss_lookup_function instead of __nss_lookup.
Adjust setup caller.
inet/getnetgrent_r.c