* Fix open_files prototype (void argument).
* close_file documentation (s:password/shadow:group/gshadow:)
This commit is contained in:
parent
6ac97a708c
commit
42a5b75c5a
@ -81,7 +81,7 @@ static int sort_mode = 0;
|
|||||||
static void usage (void);
|
static void usage (void);
|
||||||
static void delete_member (char **, const char *);
|
static void delete_member (char **, const char *);
|
||||||
static void process_flags (int argc, char **argv);
|
static void process_flags (int argc, char **argv);
|
||||||
static void open_files ();
|
static void open_files (void);
|
||||||
static void close_files (int changed);
|
static void close_files (int changed);
|
||||||
static int check_members (const char *groupname,
|
static int check_members (const char *groupname,
|
||||||
char **members,
|
char **members,
|
||||||
@ -200,7 +200,7 @@ static void process_flags (int argc, char **argv)
|
|||||||
* In read-only mode, the databases are not locked and are opened
|
* In read-only mode, the databases are not locked and are opened
|
||||||
* only for reading.
|
* only for reading.
|
||||||
*/
|
*/
|
||||||
static void open_files ()
|
static void open_files (void)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Lock the files if we aren't in "read-only" mode
|
* Lock the files if we aren't in "read-only" mode
|
||||||
@ -255,7 +255,7 @@ static void open_files ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* 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
|
* If changed is not set, the databases are not closed, and no
|
||||||
* changes are committed in the databases. The databases are
|
* changes are committed in the databases. The databases are
|
||||||
|
Loading…
x
Reference in New Issue
Block a user