From febe3c421109032cdfb36249c54e314d39256ace Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 4 Apr 2007 20:52:03 +0000 Subject: - sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g" --- selinux/chcon.c | 4 ++-- selinux/load_policy.c | 4 ++-- selinux/runcon.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'selinux') diff --git a/selinux/chcon.c b/selinux/chcon.c index 0eab686..437502c 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 83051e6..5d5d7d5 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 8888ccc..a354387 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; -- cgit v1.1