[Pkg-shadow-commits] r1605 - upstream/trunk/src
nekral-guest at alioth.debian.org
nekral-guest at alioth.debian.org
Tue Jan 1 16:28:02 UTC 2008
Author: nekral-guest
Date: 2008-01-01 16:28:01 +0000 (Tue, 01 Jan 2008)
New Revision: 1605
Modified:
upstream/trunk/src/grpck.c
Log:
* Fix open_files prototype (void argument).
* close_file documentation (s:password/shadow:group/gshadow:)
Modified: upstream/trunk/src/grpck.c
===================================================================
--- upstream/trunk/src/grpck.c 2008-01-01 16:25:57 UTC (rev 1604)
+++ upstream/trunk/src/grpck.c 2008-01-01 16:28:01 UTC (rev 1605)
@@ -81,7 +81,7 @@
static void usage (void);
static void delete_member (char **, const char *);
static void process_flags (int argc, char **argv);
-static void open_files ();
+static void open_files (void);
static void close_files (int changed);
static int check_members (const char *groupname,
char **members,
@@ -200,7 +200,7 @@
* In read-only mode, the databases are not locked and are opened
* only for reading.
*/
-static void open_files ()
+static void open_files (void)
{
/*
* Lock the files if we aren't in "read-only" mode
@@ -255,7 +255,7 @@
}
/*
- * close_files - close and unlock the password/shadow databases
+ * close_files - close and unlock the group/gshadow databases
*
* If changed is not set, the databases are not closed, and no
* changes are committed in the databases. The databases are
More information about the Pkg-shadow-commits
mailing list