xref: /netbsd/tools/compat/setpassent.c (revision bf9ec67e)
1 /*	$NetBSD: setpassent.c,v 1.3 2002/02/26 22:29:39 tv Exp $	*/
2 
3 #include "config.h"
4 
5 #if !HAVE_SETPASSENT || !HAVE_DECL_SETPASSENT
6 #include <pwd.h>
7 
8 int setpassent(int stayopen) {
9 	setpwent();
10 	return 1;
11 }
12 #endif
13