summaryrefslogtreecommitdiff
path: root/tools/compat/setgroupent.c
blob: dbbb2eff6035d13894cb21f31dd214d5acea1d13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*	$NetBSD: setgroupent.c,v 1.4 2003/10/27 00:12:43 lukem Exp $	*/

#include "nbtool_config.h"

#if !HAVE_SETGROUPENT || !HAVE_DECL_SETGROUPENT
#include <grp.h>

int setgroupent(int stayopen) {
	setgrent();
	return 1;
}
#endif