Skip to content

Commit

Permalink
Minimal cleanup in innetgr.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Jun 27, 2011
1 parent c2344f5 commit 5ce33a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion inet/getnetgrent_r.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 *);
Expand Down

0 comments on commit 5ce33a6

Please sign in to comment.