diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-06-27 10:57:37 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-06-27 10:57:37 -0400 |
commit | 5ce33a62951afb0b4186446bea716650db55baf9 (patch) | |
tree | 7ade65cfdf4a9ac33b41da95281d7ab0bda5f054 | |
parent | c2344f56e41b56036d6a16a30b9f32c19aa932d6 (diff) | |
download | glibc-5ce33a62951afb0b4186446bea716650db55baf9.zip glibc-5ce33a62951afb0b4186446bea716650db55baf9.tar.gz glibc-5ce33a62951afb0b4186446bea716650db55baf9.tar.bz2 |
Minimal cleanup in innetgr.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | inet/getnetgrent_r.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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 diff --git a/inet/getnetgrent_r.c b/inet/getnetgrent_r.c index 7e13e3b..42045a2 100644 --- a/inet/getnetgrent_r.c +++ b/inet/getnetgrent_r.c @@ -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 *); |