diff options
author | ChenQi1989 <40684930+ChenQi1989@users.noreply.github.com> | 2018-06-29 08:54:07 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-06-29 10:27:51 +0200 |
commit | 4f07ffa8f5ab85011422bb7114f1cddf49d4923d (patch) | |
tree | 1d0b08b7f92a93e49ecbc35f9662ca8306fce8d3 /src | |
parent | Add accel mount matrix for BayTrail-based tablets by DEXP (diff) | |
download | systemd-4f07ffa8f5ab85011422bb7114f1cddf49d4923d.tar.xz systemd-4f07ffa8f5ab85011422bb7114f1cddf49d4923d.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/basic/user-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/user-util.h b/src/basic/user-util.h index b74f168859..b2f198c89b 100644 --- a/src/basic/user-util.h +++ b/src/basic/user-util.h @@ -102,7 +102,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 |