mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 17:06:39 +09:00
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.
This commit is contained in:
committed by
Lennart Poettering
parent
dba601ac03
commit
4f07ffa8f5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user