summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2007-04-04 20:52:03 +0000
committerBernhard Reutner-Fischer2007-04-04 20:52:03 +0000
commitfebe3c421109032cdfb36249c54e314d39256ace (patch)
tree5bf5f4b36eadcff8d4e707d4f46e85c590a53436 /init
parentd9c2d5fe4ffeedeadc26c1ee64247c72cdbd064a (diff)
downloadbusybox-febe3c421109032cdfb36249c54e314d39256ace.zip
busybox-febe3c421109032cdfb36249c54e314d39256ace.tar.gz
- sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"
Diffstat (limited to 'init')
-rw-r--r--init/halt.c4
-rw-r--r--init/mesg.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/init/halt.c b/init/halt.c
index d5c22a8..8faf9d8 100644
--- a/init/halt.c
+++ b/init/halt.c
@@ -10,8 +10,8 @@
#include "busybox.h"
#include <sys/reboot.h>
-int halt_main(int argc, char *argv[]);
-int halt_main(int argc, char *argv[])
+int halt_main(int argc, char **argv);
+int halt_main(int argc, char **argv)
{
static const int magic[] = {
#ifdef RB_HALT_SYSTEM
diff --git a/init/mesg.c b/init/mesg.c
index 40d8ae3..77bfe0e 100644
--- a/init/mesg.c
+++ b/init/mesg.c
@@ -15,8 +15,8 @@
#define S_IWGRP_OR_S_IWOTH (S_IWGRP | S_IWOTH)
#endif
-int mesg_main(int argc, char *argv[]);
-int mesg_main(int argc, char *argv[])
+int mesg_main(int argc, char **argv);
+int mesg_main(int argc, char **argv)
{
struct stat sb;
const char *tty;