From 6cf5b05493f3be2d939e486cbcbc4ccf80605b39 Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Sat, 5 Jan 2008 14:35:13 +0000 Subject: [PATCH] Remove prototype of putgrent(), add parameter's name of sgetgrent(). --- ChangeLog | 5 +++++ lib/groupio.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7d0c0388..ee695035 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-01-05 Nicolas François + + * lib/groupio.c: Remove prototype of putgrent(), add parameter's + name of sgetgrent(). + 2008-01-05 Nicolas François * NEWS, src/groupmod.c, src/groupadd.c: Add option --password to diff --git a/lib/groupio.c b/lib/groupio.c index a519bc80..97d3d723 100644 --- a/lib/groupio.c +++ b/lib/groupio.c @@ -8,8 +8,8 @@ #include "commonio.h" #include "getdef.h" #include "groupio.h" -extern int putgrent (const struct group *, FILE *); -extern struct group *sgetgrent (const char *); + +extern struct group *sgetgrent (const char *buf); static struct commonio_entry *merge_group_entries (struct commonio_entry *, struct commonio_entry *);