summaryrefslogtreecommitdiffstats
path: root/pw/pw_vpw.c
diff options
context:
space:
mode:
authorDavid Nugent <davidn@FreeBSD.org>2000-01-15 00:20:22 +0000
committerDavid Nugent <davidn@FreeBSD.org>2000-01-15 00:20:22 +0000
commitda87ee1ae0616b15fe67ba63856af79803005d9d (patch)
tree8eb325bf87e8b3547c41712d05ed71ac0def85c8 /pw/pw_vpw.c
parent689e59177079bab25bc22ccf4c0e9a3954e8306b (diff)
downloadpw-darwin-da87ee1ae0616b15fe67ba63856af79803005d9d.tar.gz
pw-darwin-da87ee1ae0616b15fe67ba63856af79803005d9d.tar.zst
pw-darwin-da87ee1ae0616b15fe67ba63856af79803005d9d.zip
Portability fixes for other bsd4.4 derivatives.
Diffstat (limited to 'pw/pw_vpw.c')
-rw-r--r--pw/pw_vpw.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pw/pw_vpw.c b/pw/pw_vpw.c
index ef12437..bc5713e 100644
--- a/pw/pw_vpw.c
+++ b/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 *