aboutsummaryrefslogtreecommitdiff
path: root/selinux
diff options
context:
space:
mode:
authorGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-04-04 20:52:03 +0000
committerGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-04-04 20:52:03 +0000
commitfebe3c421109032cdfb36249c54e314d39256ace (patch)
tree5bf5f4b36eadcff8d4e707d4f46e85c590a53436 /selinux
parentd9c2d5fe4ffeedeadc26c1ee64247c72cdbd064a (diff)
downloadbusybox-febe3c421109032cdfb36249c54e314d39256ace.tar.gz
busybox-febe3c421109032cdfb36249c54e314d39256ace.tar.bz2
- sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"
Diffstat (limited to 'selinux')
-rw-r--r--selinux/chcon.c4
-rw-r--r--selinux/load_policy.c4
-rw-r--r--selinux/runcon.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/selinux/chcon.c b/selinux/chcon.c
index 0eab6864e..437502c90 100644
--- a/selinux/chcon.c
+++ b/selinux/chcon.c
@@ -120,8 +120,8 @@ static struct option chcon_options[] = {
};
#endif
-int chcon_main(int argc, char *argv[]);
-int chcon_main(int argc, char *argv[])
+int chcon_main(int argc, char **argv);
+int chcon_main(int argc, char **argv)
{
char *reference_file;
char *fname;
diff --git a/selinux/load_policy.c b/selinux/load_policy.c
index 83051e697..5d5d7d5a8 100644
--- a/selinux/load_policy.c
+++ b/selinux/load_policy.c
@@ -5,8 +5,8 @@
*/
#include "busybox.h"
-int load_policy_main(int argc, char *argv[]);
-int load_policy_main(int argc, char *argv[])
+int load_policy_main(int argc, char **argv);
+int load_policy_main(int argc, char **argv)
{
int fd;
struct stat st;
diff --git a/selinux/runcon.c b/selinux/runcon.c
index 8888ccc7b..a3543878c 100644
--- a/selinux/runcon.c
+++ b/selinux/runcon.c
@@ -87,8 +87,8 @@ static const struct option runcon_options[] = {
#define OPTS_HELP (1<<5) /* h */
#define OPTS_CONTEXT_COMPONENT (OPTS_ROLE | OPTS_TYPE | OPTS_USER | OPTS_RANGE)
-int runcon_main(int argc, char *argv[]);
-int runcon_main(int argc, char *argv[])
+int runcon_main(int argc, char **argv);
+int runcon_main(int argc, char **argv)
{
char *role = NULL;
char *range = NULL;