]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
Add header guards
authorIker Pedrosa <ipedrosa@redhat.com>
Tue, 10 May 2022 13:26:15 +0000 (15:26 +0200)
committerSerge Hallyn <serge@hallyn.com>
Tue, 24 May 2022 12:49:11 +0000 (07:49 -0500)
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
lib/pwauth.h
lib/run_part.h
lib/shadowlog_internal.h

index fb205b71907c50a27cf808f6d9591a573ace1705..b610025dd478b5407a4682c4b993dd2ed35302e5 100644 (file)
@@ -11,6 +11,9 @@
  *     $Id$
  */
 
+#ifndef _PWAUTH_H
+#define _PWAUTH_H
+
 #ifndef USE_PAM
 int pw_auth (const char *cipher,
              const char *user,
@@ -41,3 +44,5 @@ int pw_auth (const char *cipher,
 #define        PW_RLOGIN       202
 #define        PW_FTP          203
 #define        PW_REXEC        204
+
+#endif /* _PWAUTH_H */
index 0b68dbfc21068c90f62ef312fefda4e77dd7980a..6422134cc72eb861be833268c847ed2801aff9de 100644 (file)
@@ -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_parts (const char *directory, const char *name, const char *action);
+
+#endif /* _RUN_PART_H */
index 7f25407b63dfe8b1f1117b7b09e0669f179b04b0..72a0e0c3806c89e29a65cf4f2c2f6ab1e65361aa 100644 (file)
@@ -1,2 +1,7 @@
+#ifndef _SHADOWLOG_INTERNAL_H
+#define _SHADOWLOG_INTERNAL_H
+
 extern const char *shadow_progname; /* Program name showed in error messages */
 extern FILE *shadow_logfd;  /* file descripter to which error messages are printed */
+
+#endif /* _SHADOWLOG_INTERNAL_H */