Minimal cleanup in innetgr.

This commit is contained in:
Ulrich Drepper 2011-06-27 10:57:37 -04:00
parent c2344f56e4
commit 5ce33a6295
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-06-27 Ulrich Drepper <drepper@gmail.com>
* inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
value type for setfct.
2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use

View File

@ -339,7 +339,7 @@ innetgr (const char *netgroup, const char *host, const char *user,
{
union
{
int (*f) (const char *, struct __netgrent *);
enum nss_status (*f) (const char *, struct __netgrent *);
void *ptr;
} setfct;
void (*endfct) (struct __netgrent *);