Assume optarg and optind are declared in <getopt.h>.

This commit is contained in:
nekral-guest 2008-01-06 12:52:23 +00:00
parent 0c867d23ad
commit 93177a5615
3 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -59,8 +59,6 @@
/*
* Global variables
*/
extern int optind;
extern char *optarg;
static char *adduser = NULL;
static char *deluser = NULL;
static char *thisgroup = NULL;

View File

@ -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;
/*