Avoid empty file when WITH_AUDIT is not set.
This commit is contained in:
		@@ -2,6 +2,7 @@
 | 
			
		||||
 | 
			
		||||
	* libmisc/limits.c, libmisc/obscure.c, src/login_nopam.c,
 | 
			
		||||
	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
 | 
			
		||||
	returns a constant string.
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -78,4 +78,6 @@ void audit_logger (int type, const char *pgname, const char *op,
 | 
			
		||||
					NULL, NULL, NULL, result);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#else				/* WITH_AUDIT */
 | 
			
		||||
extern int errno;	/* warning: ANSI C forbids an empty source file */
 | 
			
		||||
#endif				/* WITH_AUDIT */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user