summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChenQi1989 <40684930+ChenQi1989@users.noreply.github.com>2018-06-29 06:54:07 +0000
committerSven Eden <sven.eden@prydeworx.com>2018-10-29 10:18:22 +0100
commit4dec19b4d2051593098eaa507d812b4fc9defc91 (patch)
treee4f68a09e6078e76f8e5b96fa9b62a879fdd9d8c
parent0d2e57cdcab081ad2bf428fcc6b582a70dfcf66f (diff)
Use #if instead of #ifdef for ENABLE_GSHADOW
ENABLE_GSHADOW is defined to be 0 or 1. So #if should be used instead of #ifdef. (cherry picked from commit 4f07ffa8f5ab85011422bb7114f1cddf49d4923d)
-rw-r--r--src/basic/user-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/user-util.h b/src/basic/user-util.h
index 14a4d180c..484395b23 100644
--- a/src/basic/user-util.h
+++ b/src/basic/user-util.h
@@ -113,7 +113,7 @@ int fgetgrent_sane(FILE *stream, struct group **gr);
int putpwent_sane(const struct passwd *pw, FILE *stream);
int putspent_sane(const struct spwd *sp, FILE *stream);
int putgrent_sane(const struct group *gr, FILE *stream);
-#ifdef ENABLE_GSHADOW
+#if ENABLE_GSHADOW
int fgetsgent_sane(FILE *stream, struct sgrp **sg);
int putsgent_sane(const struct sgrp *sg, FILE *stream);
#endif