* libmisc/cleanup_group.c: Fix compilation when compiled without

shadow group support.
This commit is contained in:
nekral-guest 2008-12-23 00:39:54 +00:00
parent 915ec6531a
commit 1b0a32d71c
2 changed files with 7 additions and 0 deletions

View File

@ -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> 2008-12-23 Nicolas François <nicolas.francois@centraliens.net>
* src/groupdel.c: Remove the fail_exit () declaration. * src/groupdel.c: Remove the fail_exit () declaration.

View File

@ -90,6 +90,7 @@ void cleanup_report_mod_group (void *cleanup_info)
#endif #endif
} }
#ifdef SHADOWGRP
void cleanup_report_mod_gshadow (void *cleanup_info) void cleanup_report_mod_gshadow (void *cleanup_info)
{ {
const struct cleanup_info_mod *info; const struct cleanup_info_mod *info;
@ -106,6 +107,7 @@ void cleanup_report_mod_gshadow (void *cleanup_info)
SHADOW_AUDIT_FAILURE); SHADOW_AUDIT_FAILURE);
#endif #endif
} }
#endif
/* /*
* cleanup_report_add_group_group - Report failure to add a group to group * cleanup_report_add_group_group - Report failure to add a group to group