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
commit8888c5de4c415b857f260212229893f3605b9097 (patch)
tree8e32b5b2bc4887af7253f4809c15ed45b17751ff /pw/pw_vpw.c
parentbdbbd98e10c1f84d7bdfc718f167d54c0996522c (diff)
downloadpw-darwin-8888c5de4c415b857f260212229893f3605b9097.tar.gz
pw-darwin-8888c5de4c415b857f260212229893f3605b9097.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 *