aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-04-04 20:52:03 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-04-04 20:52:03 +0000
commitfebe3c421109032cdfb36249c54e314d39256ace (patch)
tree5bf5f4b36eadcff8d4e707d4f46e85c590a53436 /miscutils
parentd9c2d5fe4ffeedeadc26c1ee64247c72cdbd064a (diff)
downloadbusybox-febe3c421109032cdfb36249c54e314d39256ace.tar.gz
- sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/nmeter.c4
-rw-r--r--miscutils/runlevel.c4
-rw-r--r--miscutils/setsid.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/miscutils/nmeter.c b/miscutils/nmeter.c
index 0b499034e..c96ce5da5 100644
--- a/miscutils/nmeter.c
+++ b/miscutils/nmeter.c
@@ -729,8 +729,8 @@ static init_func* init_functions[] = {
init_cr,
};
-int nmeter_main(int argc, char* argv[]);
-int nmeter_main(int argc, char* argv[])
+int nmeter_main(int argc, char **argv);
+int nmeter_main(int argc, char **argv)
{
char buf[32];
s_stat *first = NULL;
diff --git a/miscutils/runlevel.c b/miscutils/runlevel.c
index 23714f7c7..df2da2b1f 100644
--- a/miscutils/runlevel.c
+++ b/miscutils/runlevel.c
@@ -18,8 +18,8 @@
#include <time.h>
#include <stdlib.h>
-int runlevel_main(int argc, char *argv[]);
-int runlevel_main(int argc, char *argv[])
+int runlevel_main(int argc, char **argv);
+int runlevel_main(int argc, char **argv)
{
struct utmp *ut;
char prev;
diff --git a/miscutils/setsid.c b/miscutils/setsid.c
index c878f524b..1abb54530 100644
--- a/miscutils/setsid.c
+++ b/miscutils/setsid.c
@@ -16,8 +16,8 @@
#include "busybox.h"
-int setsid_main(int argc, char *argv[]);
-int setsid_main(int argc, char *argv[])
+int setsid_main(int argc, char **argv);
+int setsid_main(int argc, char **argv)
{
if (argc < 2)
bb_show_usage();