]> granicus.if.org Git - shadow/commitdiff
* libmisc/cleanup_group.c: Fix compilation when compiled without
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 23 Dec 2008 00:39:54 +0000 (00:39 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 23 Dec 2008 00:39:54 +0000 (00:39 +0000)
shadow group support.

ChangeLog
libmisc/cleanup_group.c

index 148255971c73aa9f92776646d9cfe1f3a255d66b..d5be9214ef1b1eea7b0c05e7784fe3bd76cba622 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * libmisc/cleanup_group.c: Fix compilation when compiled without
+       shadow group support.
+
 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
 
        * src/groupdel.c: Remove the fail_exit () declaration.
index a6e2f9c9d0595831646b2df07d411b5d8751d99c..d07adc71922d00366664915a09a2b9c4c1192304 100644 (file)
@@ -90,6 +90,7 @@ void cleanup_report_mod_group (void *cleanup_info)
 #endif
 }
 
+#ifdef SHADOWGRP
 void cleanup_report_mod_gshadow (void *cleanup_info)
 {
        const struct cleanup_info_mod *info;
@@ -106,6 +107,7 @@ void cleanup_report_mod_gshadow (void *cleanup_info)
                      SHADOW_AUDIT_FAILURE);
 #endif
 }
+#endif
 
 /*
  * cleanup_report_add_group_group - Report failure to add a group to group