Fix char **argv to char *argv[]

This commit is contained in:
sin 2014-04-18 11:49:10 +01:00
parent 36d6216455
commit 505bb70e89
4 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@ usage(void)
}
int
main(int argc, char **argv)
main(int argc, char *argv[])
{
mode_t type, mode = 0644;
dev_t dev;

2
su.c
View File

@ -26,7 +26,7 @@ static int lflag = 0;
static int pflag = 0;
int
main(int argc, char **argv)
main(int argc, char *argv[])
{
char *usr = "root", *pass, *cryptpass;
char * const *newargv;

View File

@ -60,7 +60,7 @@ usage(void)
}
int
main(int argc, char **argv)
main(int argc, char *argv[])
{
char *console = NULL;
dev_t curdev;

2
who.c
View File

@ -14,7 +14,7 @@ usage(void)
}
int
main(int argc, char **argv)
main(int argc, char *argv[])
{
struct utmp usr;
FILE *ufp;