commit 505bb70e89f63423b4f9b8cfb7c4eb335c51aedc
parent 36d62164554f2e9dca8dc866c327e8f7f3398a7e
Author: sin <sin@2f30.org>
Date: Fri, 18 Apr 2014 11:49:10 +0100
Fix char **argv to char *argv[]
Diffstat:
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/mknod.c b/mknod.c
@@ -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;
diff --git a/su.c b/su.c
@@ -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;
diff --git a/switch_root.c b/switch_root.c
@@ -60,7 +60,7 @@ usage(void)
}
int
-main(int argc, char **argv)
+main(int argc, char *argv[])
{
char *console = NULL;
dev_t curdev;
diff --git a/who.c b/who.c
@@ -14,7 +14,7 @@ usage(void)
}
int
-main(int argc, char **argv)
+main(int argc, char *argv[])
{
struct utmp usr;
FILE *ufp;