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