From: nekral-guest Date: Sun, 6 Jan 2008 13:38:16 +0000 (+0000) Subject: * Remove prototype for sgetgrent(). X-Git-Tag: 4.1.1~112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d63dfd1d4489dd7e51d98c0f2b59e282da0dad3;p=thirdparty%2Fshadow.git * Remove prototype for sgetgrent(). * Add the name of the parameters for merge_group_entries() and split_groups(). --- diff --git a/ChangeLog b/ChangeLog index 78021d093..db8888b85 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 97d3d7239..7d84dd972 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)