* lib/prototypes.h: Replace #if by #ifdef

* lib/prototypes.h, libmisc/non_interactive_pam_conv.c: Added
	non_interactive_pam_conv() and non_interactive_password.
This commit is contained in:
nekral-guest
2009-04-28 20:06:46 +00:00
parent dd85562fac
commit 102253834a
3 changed files with 138 additions and 1 deletions

View File

@ -43,7 +43,7 @@
#define _PROTOTYPES_H
#include <sys/stat.h>
#if USE_UTMPX
#ifdef USE_UTMPX
#include <utmpx.h>
#else
#include <utmp.h>
@ -238,6 +238,10 @@ extern void motd (void);
/* myname.c */
extern /*@null@*/struct passwd *get_my_pwent (void);
/* non_interactive_pam_conv.c */
/*@null@*/ /*@only@*/extern char *non_interactive_password;
extern struct pam_conv non_interactive_pam_conv;
/* obscure.c */
#ifndef USE_PAM
extern int obscure (const char *, const char *, const struct passwd *);