Avoid empty file when WITH_AUDIT is not set.
This commit is contained in:
parent
bca732693b
commit
bb8af02978
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
* libmisc/limits.c, libmisc/obscure.c, src/login_nopam.c,
|
* libmisc/limits.c, libmisc/obscure.c, src/login_nopam.c,
|
||||||
lib/pwauth.c: Avoid empty file when USE_PAM is set.
|
lib/pwauth.c: Avoid empty file when USE_PAM is set.
|
||||||
|
* libmisc/audit_help.c: Avoid empty file when WITH_AUDIT is not set.
|
||||||
* src/login_nopam.c: Fix warnings: resolve_hostname takes and
|
* src/login_nopam.c: Fix warnings: resolve_hostname takes and
|
||||||
returns a constant string.
|
returns a constant string.
|
||||||
|
|
||||||
|
@ -78,4 +78,6 @@ void audit_logger (int type, const char *pgname, const char *op,
|
|||||||
NULL, NULL, NULL, result);
|
NULL, NULL, NULL, result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else /* WITH_AUDIT */
|
||||||
|
extern int errno; /* warning: ANSI C forbids an empty source file */
|
||||||
#endif /* WITH_AUDIT */
|
#endif /* WITH_AUDIT */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user