[hackers] [ubase] Fix char **argv to char *argv[] || sin

From: <git_AT_suckless.org>
Date: Fri, 18 Apr 2014 12:52:36 +0200

commit 505bb70e89f63423b4f9b8cfb7c4eb335c51aedc
Author: sin <sin_AT_2f30.org>
Date: Fri Apr 18 11:49:10 2014 +0100

    Fix char **argv to char *argv[]

diff --git a/mknod.c b/mknod.c
index 0603c1d..a80c053 100644
--- a/mknod.c
+++ b/mknod.c
_AT_@ -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
index 91c9018..2b5f0bf 100644
--- a/su.c
+++ b/su.c
_AT_@ -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
index a9a0af8..6ad40a9 100644
--- a/switch_root.c
+++ b/switch_root.c
_AT_@ -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
index 1a31af3..7dd2083 100644
--- a/who.c
+++ b/who.c
_AT_@ -14,7 +14,7 @@ usage(void)
 }
 
 int
-main(int argc, char **argv)
+main(int argc, char *argv[])
 {
         struct utmp usr;
         FILE *ufp;
Received on Fri Apr 18 2014 - 12:52:36 CEST

This archive was generated by hypermail 2.3.0 : Fri Apr 18 2014 - 13:00:19 CEST