summaryrefslogtreecommitdiffstats
path: root/pw/pw_vpw.c
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2016-08-16 20:19:05 +0000
committerDimitry Andric <dim@FreeBSD.org>2016-08-16 20:19:05 +0000
commitac719d1ccab34c24fd5b39cf8cfe49039289b033 (patch)
tree0a1771f52aa9a90ad781b3924adc7f280aa38ae6 /pw/pw_vpw.c
parentae4f3b0a81875867702cade7ba2f5920d92ee481 (diff)
parent54a011838a76f1406af6edea1f1b2741105c5b80 (diff)
downloadpw-darwin-ac719d1ccab34c24fd5b39cf8cfe49039289b033.tar.gz
pw-darwin-ac719d1ccab34c24fd5b39cf8cfe49039289b033.zip
Merge ^/head r303250 through r304235.
Diffstat (limited to 'pw/pw_vpw.c')
-rw-r--r--pw/pw_vpw.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/pw/pw_vpw.c b/pw/pw_vpw.c
index 08c8bd5..58e5294 100644
--- a/pw/pw_vpw.c
+++ b/pw/pw_vpw.c
@@ -33,7 +33,6 @@ static const char rcsid[] =
#include <pwd.h>
#include <grp.h>
#include <libutil.h>
-#define _WITH_GETLINE
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
@@ -131,13 +130,10 @@ vendgrent(void)
}
}
-RET_SETGRENT
+void
vsetgrent(void)
{
vendgrent();
-#if defined(__FreeBSD__)
- return 0;
-#endif
}
static struct group *