summaryrefslogtreecommitdiff
path: root/lib/bind/irs/getnetgrent.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bind/irs/getnetgrent.c')
-rw-r--r--lib/bind/irs/getnetgrent.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/bind/irs/getnetgrent.c b/lib/bind/irs/getnetgrent.c
index 0adeb616..697de4bd 100644
--- a/lib/bind/irs/getnetgrent.c
+++ b/lib/bind/irs/getnetgrent.c
@@ -16,7 +16,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static const char rcsid[] = "$Id: getnetgrent.c,v 1.4 2005/04/27 04:56:25 sra Exp $";
+static const char rcsid[] = "$Id: getnetgrent.c,v 1.4.672.1 2008/02/27 00:05:45 marka Exp $";
#endif /* LIBC_SCCS and not lint */
/* Imports */
@@ -76,7 +76,9 @@ innetgr(INNETGR_ARGS) {
}
int
-getnetgrent(char **host, char **user, char **domain) {
+getnetgrent(NGR_R_CONST char **host, NGR_R_CONST char **user,
+ NGR_R_CONST char **domain)
+{
struct net_data *net_data = init();
const char *ch, *cu, *cd;
int ret;