Assume optarg and optind are declared in <getopt.h>.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-01-06 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* src/useradd.c, src/groupmems.c: Assume optarg and optind are
|
||||
declared in <getopt.h>.
|
||||
|
||||
2008-01-06 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* src/usermod.c: Remove the pw_name argument of new_pw_passwd. Use
|
||||
|
@@ -59,8 +59,6 @@
|
||||
/*
|
||||
* Global variables
|
||||
*/
|
||||
extern int optind;
|
||||
extern char *optarg;
|
||||
static char *adduser = NULL;
|
||||
static char *deluser = NULL;
|
||||
static char *thisgroup = NULL;
|
||||
|
@@ -131,9 +131,6 @@ static int
|
||||
sflg = 0, /* shell program for new account */
|
||||
uflg = 0; /* specify user ID for new account */
|
||||
|
||||
extern char *optarg;
|
||||
extern int optind;
|
||||
|
||||
static int home_added;
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user