[Pkg-shadow-commits] r1594 - in upstream/trunk: . libmisc

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Tue Jan 1 14:20:36 UTC 2008


Author: nekral-guest
Date: 2008-01-01 14:20:36 +0000 (Tue, 01 Jan 2008)
New Revision: 1594

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/libmisc/audit_help.c
Log:
Avoid empty file when WITH_AUDIT is not set.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2008-01-01 14:18:55 UTC (rev 1593)
+++ upstream/trunk/ChangeLog	2008-01-01 14:20:36 UTC (rev 1594)
@@ -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.
 

Modified: upstream/trunk/libmisc/audit_help.c
===================================================================
--- upstream/trunk/libmisc/audit_help.c	2008-01-01 14:18:55 UTC (rev 1593)
+++ upstream/trunk/libmisc/audit_help.c	2008-01-01 14:20:36 UTC (rev 1594)
@@ -78,4 +78,6 @@
 					NULL, NULL, NULL, result);
 }
 
+#else				/* WITH_AUDIT */
+extern int errno;	/* warning: ANSI C forbids an empty source file */
 #endif				/* WITH_AUDIT */




More information about the Pkg-shadow-commits mailing list