]> granicus.if.org Git - shadow/commitdiff
* Remove prototype for sgetgrent().
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sun, 6 Jan 2008 13:38:16 +0000 (13:38 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sun, 6 Jan 2008 13:38:16 +0000 (13:38 +0000)
* Add the name of the parameters for merge_group_entries() and split_groups().

ChangeLog
lib/groupio.c

index 78021d093e6c5e7422136e0db40e28f7952eb162..db8888b858df98f243695dd7d1157c347fd8224d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
        __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  <nicolas.francois@centraliens.net>
 
index 97d3d7239deb52ab069455315097e22656fc0ffe..7d84dd9728a6899bcc84bcb366dd6fcbe66091dd 100644 (file)
@@ -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)