aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-11-25 16:09:10 +0000
committerUlrich Drepper <drepper@redhat.com>2005-11-25 16:09:10 +0000
commit34da0098e5fc16f3ee5f3504e9c49388b6e6bdac (patch)
treec1eaac704252a517fd44875a65102ee098836513
parent85f90d22b6efe2e3b14708556047cc09e7de7a7c (diff)
downloadglibc-34da0098e5fc16f3ee5f3504e9c49388b6e6bdac.zip
glibc-34da0098e5fc16f3ee5f3504e9c49388b6e6bdac.tar.gz
glibc-34da0098e5fc16f3ee5f3504e9c49388b6e6bdac.tar.bz2
[BZ #1926]
* nss/nss_files/files-netgrp.c (_nss_files_endnetgrent): Change return value type to match expected type.
-rw-r--r--ChangeLog4
-rw-r--r--nss/nss_files/files-netgrp.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a9fb192..19ee630 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2005-11-25 Ulrich Drepper <drepper@redhat.com>
+ [BZ #1926]
+ * nss/nss_files/files-netgrp.c (_nss_files_endnetgrent): Change
+ return value type to match expected type.
+
[BZ #1925]
* nis/ypclnt.c (yp_order): Correct test for invalid parameter.
diff --git a/nss/nss_files/files-netgrp.c b/nss/nss_files/files-netgrp.c
index 45f3b8a..4b5d774 100644
--- a/nss/nss_files/files-netgrp.c
+++ b/nss/nss_files/files-netgrp.c
@@ -153,7 +153,7 @@ _nss_files_setnetgrent (const char *group, struct __netgrent *result)
}
-int
+enum nss_status
_nss_files_endnetgrent (struct __netgrent *result)
{
/* Free allocated memory for data if some is present. */