From 1d63dfd1d4489dd7e51d98c0f2b59e282da0dad3 Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Sun, 6 Jan 2008 13:38:16 +0000 Subject: [PATCH] * Remove prototype for sgetgrent(). * Add the name of the parameters for merge_group_entries() and split_groups(). --- ChangeLog | 3 +++ lib/groupio.c | 8 +++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 78021d09..db8888b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -115,6 +115,9 @@ __gr_get_head(), __sgr_del_entry(), and __sgr_get_head(). * src/pwck.c: Remove prototypes for __pw_del_entry(), __pw_get_head(), __spw_del_entry(), and __spw_get_head(). + * lib/groupio.c: Remove prototype for sgetgrent(). + * lib/groupio.c: Add the name of the parameters for + merge_group_entries() and split_groups(). 2008-01-05 Nicolas François diff --git a/lib/groupio.c b/lib/groupio.c index 97d3d723..7d84dd97 100644 --- a/lib/groupio.c +++ b/lib/groupio.c @@ -9,11 +9,9 @@ #include "getdef.h" #include "groupio.h" -extern struct group *sgetgrent (const char *buf); - -static struct commonio_entry *merge_group_entries (struct commonio_entry *, - struct commonio_entry *); -static int split_groups (unsigned int); +static struct commonio_entry *merge_group_entries (struct commonio_entry *gr1, + struct commonio_entry *gr2); +static int split_groups (unsigned int max_members); static int group_open_hook (void); static void *group_dup (const void *ent)