[svn-upgrade] Integrating new upstream version, shadow (4.0.0)

This commit is contained in:
nekral-guest
2007-10-07 11:44:51 +00:00
parent 8fee8c57ae
commit 3bc4996775
260 changed files with 36835 additions and 18839 deletions

View File

@ -4,7 +4,7 @@
#ifdef SHADOWGRP
#include "rcsid.h"
RCSID("$Id: sgroupio.c,v 1.11 2000/09/02 18:40:43 marekm Exp $")
RCSID("$Id: sgroupio.c,v 1.12 2001/08/14 21:10:36 malekith Exp $")
#include "prototypes.h"
#include "defines.h"
@ -207,6 +207,15 @@ __sgr_del_entry(const struct commonio_entry *ent)
{
commonio_del_entry(&gshadow_db, ent);
}
/* Sort with respect to group ordering. */
int
sgr_sort()
{
extern struct commonio_db *__gr_get_db();
return commonio_sort_wrt(&gshadow_db, __gr_get_db());
}
#else
extern int errno; /* warning: ANSI C forbids an empty source file */
#endif