summaryrefslogtreecommitdiff
path: root/selinux
diff options
context:
space:
mode:
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 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;