summaryrefslogtreecommitdiff
path: root/nss
diff options
context:
space:
mode:
Diffstat (limited to 'nss')
-rw-r--r--nss/function.def3
-rw-r--r--nss/nss_files/files-netgrp.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/nss/function.def b/nss/function.def
index 59a06a2d31..505fb9307f 100644
--- a/nss/function.def
+++ b/nss/function.def
@@ -1,5 +1,5 @@
/* List of functions defined for static NSS in GNU C Library.
- Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1998, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -37,6 +37,7 @@ DEFINE_GET (files, grnam)
DEFINE_ENT (files, host)
DEFINE_GETBY (files, host, addr)
DEFINE_GETBY (files, host, name)
+DEFINE_GETBY (files, host, name2)
DEFINE_GET (files, hostton)
DEFINE_GET (files, ntohost)
DEFINE_GETBY (dns, host, addr)
diff --git a/nss/nss_files/files-netgrp.c b/nss/nss_files/files-netgrp.c
index 45f3b8ac42..4b5d774fdd 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. */