Add header guards
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
This commit is contained in:
parent
0b51cde162
commit
0c7ded471f
@ -11,6 +11,9 @@
|
|||||||
* $Id$
|
* $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef _PWAUTH_H
|
||||||
|
#define _PWAUTH_H
|
||||||
|
|
||||||
#ifndef USE_PAM
|
#ifndef USE_PAM
|
||||||
int pw_auth (const char *cipher,
|
int pw_auth (const char *cipher,
|
||||||
const char *user,
|
const char *user,
|
||||||
@ -41,3 +44,5 @@ int pw_auth (const char *cipher,
|
|||||||
#define PW_RLOGIN 202
|
#define PW_RLOGIN 202
|
||||||
#define PW_FTP 203
|
#define PW_FTP 203
|
||||||
#define PW_REXEC 204
|
#define PW_REXEC 204
|
||||||
|
|
||||||
|
#endif /* _PWAUTH_H */
|
||||||
|
@ -1,2 +1,7 @@
|
|||||||
|
#ifndef _RUN_PART_H
|
||||||
|
#define _RUN_PART_H
|
||||||
|
|
||||||
int run_part (char *script_path, const char *name, const char *action);
|
int run_part (char *script_path, const char *name, const char *action);
|
||||||
int run_parts (const char *directory, const char *name, const char *action);
|
int run_parts (const char *directory, const char *name, const char *action);
|
||||||
|
|
||||||
|
#endif /* _RUN_PART_H */
|
||||||
|
@ -1,2 +1,7 @@
|
|||||||
|
#ifndef _SHADOWLOG_INTERNAL_H
|
||||||
|
#define _SHADOWLOG_INTERNAL_H
|
||||||
|
|
||||||
extern const char *shadow_progname; /* Program name showed in error messages */
|
extern const char *shadow_progname; /* Program name showed in error messages */
|
||||||
extern FILE *shadow_logfd; /* file descripter to which error messages are printed */
|
extern FILE *shadow_logfd; /* file descripter to which error messages are printed */
|
||||||
|
|
||||||
|
#endif /* _SHADOWLOG_INTERNAL_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user