summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pw/pw_vpw.c
diff options
context:
space:
mode:
authordavidn <davidn@FreeBSD.org>2000-01-15 00:20:22 +0000
committerdavidn <davidn@FreeBSD.org>2000-01-15 00:20:22 +0000
commit1b86060031b502ab415a36e1c0718118bb2f6564 (patch)
treee4d81921f89aa68445de1dbd9da239e288b455d7 /usr.sbin/pw/pw_vpw.c
parent4e7e0246b5331e49bd8318cd7aaced24ad7e39e6 (diff)
downloadFreeBSD-src-1b86060031b502ab415a36e1c0718118bb2f6564.zip
FreeBSD-src-1b86060031b502ab415a36e1c0718118bb2f6564.tar.gz
Portability fixes for other bsd4.4 derivatives.
Diffstat (limited to 'usr.sbin/pw/pw_vpw.c')
-rw-r--r--usr.sbin/pw/pw_vpw.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/pw/pw_vpw.c b/usr.sbin/pw/pw_vpw.c
index ef12437..bc5713e 100644
--- a/usr.sbin/pw/pw_vpw.c
+++ b/usr.sbin/pw/pw_vpw.c
@@ -190,11 +190,13 @@ vendgrent(void)
}
}
-int
+RET_SETGRENT
vsetgrent(void)
{
vendgrent();
+#if defined(__FreeBSD__)
return 0;
+#endif
}
static struct group *
OpenPOWER on IntegriCloud