Fix find_new_gid() prototype. Add a void parameter.

This commit is contained in:
nekral-guest 2008-01-05 17:23:46 +00:00
parent 9c7ddf94c9
commit ff49a02023
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-01-05 Nicolas François <nicolas.francois@centraliens.net>
* src/useradd.c: Fix find_new_gid() prototype. Add a void
parameter.
2008-01-05 Nicolas François <nicolas.francois@centraliens.net> 2008-01-05 Nicolas François <nicolas.francois@centraliens.net>
* lib/prototypes.h: Add the dolastlog() prototype. * lib/prototypes.h: Add the dolastlog() prototype.

View File

@ -871,7 +871,7 @@ static void find_new_uid (void)
* find_new_gid() locates the next highest unused GID in the group * find_new_gid() locates the next highest unused GID in the group
* file * file
*/ */
static void find_new_gid () static void find_new_gid (void)
{ {
const struct group *grp; const struct group *grp;
gid_t gid_min, gid_max; gid_t gid_min, gid_max;