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

#include "nbtool_config.h"

#if !HAVE_SETPASSENT || !HAVE_DECL_SETPASSENT
#include <pwd.h>

int setpassent(int stayopen) {
	setpwent();
	return 1;
}
#endif