* 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:
@ -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 *);
|
||||
|
Reference in New Issue
Block a user