diff options
33 files changed, 67 insertions, 67 deletions
diff --git a/applets/individual.c b/applets/individual.c index 1667f188b..0c7a4b73e 100644 --- a/applets/individual.c +++ b/applets/individual.c | |||
@@ -11,7 +11,7 @@ const char *applet_name; | |||
11 | #include <stdlib.h> | 11 | #include <stdlib.h> |
12 | #include "usage.h" | 12 | #include "usage.h" |
13 | 13 | ||
14 | int main(int argc, char *argv[]) | 14 | int main(int argc, char **argv) |
15 | { | 15 | { |
16 | applet_name = argv[0]; | 16 | applet_name = argv[0]; |
17 | 17 | ||
diff --git a/archival/libunarchive/decompress_bunzip2.c b/archival/libunarchive/decompress_bunzip2.c index ff7d64d83..dd2e1ddcb 100644 --- a/archival/libunarchive/decompress_bunzip2.c +++ b/archival/libunarchive/decompress_bunzip2.c | |||
@@ -719,7 +719,7 @@ static char * const bunzip_errors[]={NULL,"Bad file checksum","Not bzip data", | |||
719 | "Out of memory","Obsolete (pre 0.9.5) bzip format not supported."}; | 719 | "Out of memory","Obsolete (pre 0.9.5) bzip format not supported."}; |
720 | 720 | ||
721 | /* Dumb little test thing, decompress stdin to stdout */ | 721 | /* Dumb little test thing, decompress stdin to stdout */ |
722 | int main(int argc, char *argv[]) | 722 | int main(int argc, char **argv) |
723 | { | 723 | { |
724 | int i=uncompressStream(0,1); | 724 | int i=uncompressStream(0,1); |
725 | char c; | 725 | char c; |
diff --git a/console-tools/deallocvt.c b/console-tools/deallocvt.c index 81ea68ebb..476eefa51 100644 --- a/console-tools/deallocvt.c +++ b/console-tools/deallocvt.c | |||
@@ -15,8 +15,8 @@ | |||
15 | /* From <linux/vt.h> */ | 15 | /* From <linux/vt.h> */ |
16 | enum { VT_DISALLOCATE = 0x5608 }; /* free memory associated to vt */ | 16 | enum { VT_DISALLOCATE = 0x5608 }; /* free memory associated to vt */ |
17 | 17 | ||
18 | int deallocvt_main(int argc, char *argv[]); | 18 | int deallocvt_main(int argc, char **argv); |
19 | int deallocvt_main(int argc, char *argv[]) | 19 | int deallocvt_main(int argc, char **argv) |
20 | { | 20 | { |
21 | /* num = 0 deallocate all unused consoles */ | 21 | /* num = 0 deallocate all unused consoles */ |
22 | int num = 0; | 22 | int num = 0; |
diff --git a/coreutils/dos2unix.c b/coreutils/dos2unix.c index 62c1361b2..1d35d524a 100644 --- a/coreutils/dos2unix.c +++ b/coreutils/dos2unix.c | |||
@@ -82,8 +82,8 @@ static int convert(char *fn) | |||
82 | return 0; | 82 | return 0; |
83 | } | 83 | } |
84 | 84 | ||
85 | int dos2unix_main(int argc, char *argv[]); | 85 | int dos2unix_main(int argc, char **argv); |
86 | int dos2unix_main(int argc, char *argv[]) | 86 | int dos2unix_main(int argc, char **argv) |
87 | { | 87 | { |
88 | int o; | 88 | int o; |
89 | 89 | ||
diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c index b70fd7088..cf7f6f070 100644 --- a/e2fsprogs/fsck.c +++ b/e2fsprogs/fsck.c | |||
@@ -1032,7 +1032,7 @@ static void compile_fs_type(char *fs_type) | |||
1032 | } | 1032 | } |
1033 | } | 1033 | } |
1034 | 1034 | ||
1035 | static void parse_args(int argc, char *argv[]) | 1035 | static void parse_args(int argc, char **argv) |
1036 | { | 1036 | { |
1037 | int i, j; | 1037 | int i, j; |
1038 | char *arg, *tmp; | 1038 | char *arg, *tmp; |
@@ -1158,8 +1158,8 @@ static void signal_cancel(int sig ATTRIBUTE_UNUSED) | |||
1158 | cancel_requested = 1; | 1158 | cancel_requested = 1; |
1159 | } | 1159 | } |
1160 | 1160 | ||
1161 | int fsck_main(int argc, char *argv[]); | 1161 | int fsck_main(int argc, char **argv); |
1162 | int fsck_main(int argc, char *argv[]) | 1162 | int fsck_main(int argc, char **argv) |
1163 | { | 1163 | { |
1164 | int i, status = 0; | 1164 | int i, status = 0; |
1165 | int interactive; | 1165 | int interactive; |
diff --git a/e2fsprogs/old_e2fsprogs/e2fsck.c b/e2fsprogs/old_e2fsprogs/e2fsck.c index a0f691606..bb9f42a4b 100644 --- a/e2fsprogs/old_e2fsprogs/e2fsck.c +++ b/e2fsprogs/old_e2fsprogs/e2fsck.c | |||
@@ -13001,7 +13001,7 @@ static void parse_extended_opts(e2fsck_t ctx, const char *opts) | |||
13001 | } | 13001 | } |
13002 | 13002 | ||
13003 | 13003 | ||
13004 | static errcode_t PRS(int argc, char *argv[], e2fsck_t *ret_ctx) | 13004 | static errcode_t PRS(int argc, char **argv, e2fsck_t *ret_ctx) |
13005 | { | 13005 | { |
13006 | int flush = 0; | 13006 | int flush = 0; |
13007 | int c, fd; | 13007 | int c, fd; |
@@ -13202,8 +13202,8 @@ static errcode_t PRS(int argc, char *argv[], e2fsck_t *ret_ctx) | |||
13202 | static const char my_ver_string[] = E2FSPROGS_VERSION; | 13202 | static const char my_ver_string[] = E2FSPROGS_VERSION; |
13203 | static const char my_ver_date[] = E2FSPROGS_DATE; | 13203 | static const char my_ver_date[] = E2FSPROGS_DATE; |
13204 | 13204 | ||
13205 | int e2fsck_main (int argc, char *argv[]); | 13205 | int e2fsck_main (int argc, char **argv); |
13206 | int e2fsck_main (int argc, char *argv[]) | 13206 | int e2fsck_main (int argc, char **argv) |
13207 | { | 13207 | { |
13208 | errcode_t retval; | 13208 | errcode_t retval; |
13209 | int exit_value = EXIT_OK; | 13209 | int exit_value = EXIT_OK; |
diff --git a/e2fsprogs/old_e2fsprogs/fsck.c b/e2fsprogs/old_e2fsprogs/fsck.c index 6e8a63742..7b794c3aa 100644 --- a/e2fsprogs/old_e2fsprogs/fsck.c +++ b/e2fsprogs/old_e2fsprogs/fsck.c | |||
@@ -1171,7 +1171,7 @@ static void signal_cancel(int sig FSCK_ATTR((unused))) | |||
1171 | cancel_requested++; | 1171 | cancel_requested++; |
1172 | } | 1172 | } |
1173 | 1173 | ||
1174 | static void PRS(int argc, char *argv[]) | 1174 | static void PRS(int argc, char **argv) |
1175 | { | 1175 | { |
1176 | int i, j; | 1176 | int i, j; |
1177 | char *arg, *dev, *tmp = 0; | 1177 | char *arg, *dev, *tmp = 0; |
@@ -1321,8 +1321,8 @@ static void PRS(int argc, char *argv[]) | |||
1321 | max_running = atoi(tmp); | 1321 | max_running = atoi(tmp); |
1322 | } | 1322 | } |
1323 | 1323 | ||
1324 | int fsck_main(int argc, char *argv[]); | 1324 | int fsck_main(int argc, char **argv); |
1325 | int fsck_main(int argc, char *argv[]) | 1325 | int fsck_main(int argc, char **argv) |
1326 | { | 1326 | { |
1327 | int i, status = 0; | 1327 | int i, status = 0; |
1328 | int interactive = 0; | 1328 | int interactive = 0; |
diff --git a/e2fsprogs/old_e2fsprogs/mke2fs.c b/e2fsprogs/old_e2fsprogs/mke2fs.c index 6cdb16cae..4d5cce307 100644 --- a/e2fsprogs/old_e2fsprogs/mke2fs.c +++ b/e2fsprogs/old_e2fsprogs/mke2fs.c | |||
@@ -787,7 +787,7 @@ static __u32 ok_features[3] = { | |||
787 | EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER /* R/O compat */ | 787 | EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER /* R/O compat */ |
788 | }; | 788 | }; |
789 | 789 | ||
790 | static int PRS(int argc, char *argv[]) | 790 | static int PRS(int argc, char **argv) |
791 | { | 791 | { |
792 | int c; | 792 | int c; |
793 | int size; | 793 | int size; |
@@ -1175,8 +1175,8 @@ static void mke2fs_clean_up(void) | |||
1175 | if (ENABLE_FEATURE_CLEAN_UP && journal_device) free(journal_device); | 1175 | if (ENABLE_FEATURE_CLEAN_UP && journal_device) free(journal_device); |
1176 | } | 1176 | } |
1177 | 1177 | ||
1178 | int mke2fs_main (int argc, char *argv[]); | 1178 | int mke2fs_main (int argc, char **argv); |
1179 | int mke2fs_main (int argc, char *argv[]) | 1179 | int mke2fs_main (int argc, char **argv) |
1180 | { | 1180 | { |
1181 | errcode_t retval; | 1181 | errcode_t retval; |
1182 | ext2_filsys fs; | 1182 | ext2_filsys fs; |
diff --git a/findutils/grep.c b/findutils/grep.c index 43810ea84..370b753d7 100644 --- a/findutils/grep.c +++ b/findutils/grep.c | |||
@@ -396,7 +396,7 @@ int grep_main(int argc, char **argv) | |||
396 | invert_search = ((option_mask32 & OPT_v) != 0); /* 0 | 1 */ | 396 | invert_search = ((option_mask32 & OPT_v) != 0); /* 0 | 1 */ |
397 | 397 | ||
398 | if (pattern_head != NULL) { | 398 | if (pattern_head != NULL) { |
399 | /* convert char *argv[] to grep_list_data_t */ | 399 | /* convert char **argv to grep_list_data_t */ |
400 | llist_t *cur; | 400 | llist_t *cur; |
401 | 401 | ||
402 | for (cur = pattern_head; cur; cur = cur->link) | 402 | for (cur = pattern_head; cur; cur = cur->link) |
diff --git a/init/halt.c b/init/halt.c index d5c22a8ac..8faf9d8c3 100644 --- a/init/halt.c +++ b/init/halt.c | |||
@@ -10,8 +10,8 @@ | |||
10 | #include "busybox.h" | 10 | #include "busybox.h" |
11 | #include <sys/reboot.h> | 11 | #include <sys/reboot.h> |
12 | 12 | ||
13 | int halt_main(int argc, char *argv[]); | 13 | int halt_main(int argc, char **argv); |
14 | int halt_main(int argc, char *argv[]) | 14 | int halt_main(int argc, char **argv) |
15 | { | 15 | { |
16 | static const int magic[] = { | 16 | static const int magic[] = { |
17 | #ifdef RB_HALT_SYSTEM | 17 | #ifdef RB_HALT_SYSTEM |
diff --git a/init/mesg.c b/init/mesg.c index 40d8ae3ca..77bfe0e21 100644 --- a/init/mesg.c +++ b/init/mesg.c | |||
@@ -15,8 +15,8 @@ | |||
15 | #define S_IWGRP_OR_S_IWOTH (S_IWGRP | S_IWOTH) | 15 | #define S_IWGRP_OR_S_IWOTH (S_IWGRP | S_IWOTH) |
16 | #endif | 16 | #endif |
17 | 17 | ||
18 | int mesg_main(int argc, char *argv[]); | 18 | int mesg_main(int argc, char **argv); |
19 | int mesg_main(int argc, char *argv[]) | 19 | int mesg_main(int argc, char **argv) |
20 | { | 20 | { |
21 | struct stat sb; | 21 | struct stat sb; |
22 | const char *tty; | 22 | const char *tty; |
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[] = { | |||
729 | init_cr, | 729 | init_cr, |
730 | }; | 730 | }; |
731 | 731 | ||
732 | int nmeter_main(int argc, char* argv[]); | 732 | int nmeter_main(int argc, char **argv); |
733 | int nmeter_main(int argc, char* argv[]) | 733 | int nmeter_main(int argc, char **argv) |
734 | { | 734 | { |
735 | char buf[32]; | 735 | char buf[32]; |
736 | s_stat *first = NULL; | 736 | 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 @@ | |||
18 | #include <time.h> | 18 | #include <time.h> |
19 | #include <stdlib.h> | 19 | #include <stdlib.h> |
20 | 20 | ||
21 | int runlevel_main(int argc, char *argv[]); | 21 | int runlevel_main(int argc, char **argv); |
22 | int runlevel_main(int argc, char *argv[]) | 22 | int runlevel_main(int argc, char **argv) |
23 | { | 23 | { |
24 | struct utmp *ut; | 24 | struct utmp *ut; |
25 | char prev; | 25 | 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 @@ | |||
16 | 16 | ||
17 | #include "busybox.h" | 17 | #include "busybox.h" |
18 | 18 | ||
19 | int setsid_main(int argc, char *argv[]); | 19 | int setsid_main(int argc, char **argv); |
20 | int setsid_main(int argc, char *argv[]) | 20 | int setsid_main(int argc, char **argv) |
21 | { | 21 | { |
22 | if (argc < 2) | 22 | if (argc < 2) |
23 | bb_show_usage(); | 23 | bb_show_usage(); |
diff --git a/networking/ether-wake.c b/networking/ether-wake.c index 73f693e7f..e971ba39c 100644 --- a/networking/ether-wake.c +++ b/networking/ether-wake.c | |||
@@ -105,8 +105,8 @@ static inline void get_dest_addr(const char *arg, struct ether_addr *eaddr); | |||
105 | static inline int get_fill(unsigned char *pkt, struct ether_addr *eaddr, int broadcast); | 105 | static inline int get_fill(unsigned char *pkt, struct ether_addr *eaddr, int broadcast); |
106 | static inline int get_wol_pw(const char *ethoptarg, unsigned char *wol_passwd); | 106 | static inline int get_wol_pw(const char *ethoptarg, unsigned char *wol_passwd); |
107 | 107 | ||
108 | int ether_wake_main(int argc, char *argv[]); | 108 | int ether_wake_main(int argc, char **argv); |
109 | int ether_wake_main(int argc, char *argv[]) | 109 | int ether_wake_main(int argc, char **argv) |
110 | { | 110 | { |
111 | const char *ifname = "eth0"; | 111 | const char *ifname = "eth0"; |
112 | char *pass = NULL; | 112 | char *pass = NULL; |
diff --git a/networking/httpd.c b/networking/httpd.c index 8ab2bc45d..7ee62c32a 100644 --- a/networking/httpd.c +++ b/networking/httpd.c | |||
@@ -1939,8 +1939,8 @@ enum { | |||
1939 | }; | 1939 | }; |
1940 | 1940 | ||
1941 | 1941 | ||
1942 | int httpd_main(int argc, char *argv[]); | 1942 | int httpd_main(int argc, char **argv); |
1943 | int httpd_main(int argc, char *argv[]) | 1943 | int httpd_main(int argc, char **argv) |
1944 | { | 1944 | { |
1945 | unsigned opt; | 1945 | unsigned opt; |
1946 | const char *home_httpd = home; | 1946 | const char *home_httpd = home; |
diff --git a/networking/inetd.c b/networking/inetd.c index fd72aa726..0ba3b949a 100644 --- a/networking/inetd.c +++ b/networking/inetd.c | |||
@@ -1248,8 +1248,8 @@ inetd_setproctitle(char *a, int s) | |||
1248 | #endif | 1248 | #endif |
1249 | 1249 | ||
1250 | 1250 | ||
1251 | int inetd_main(int argc, char *argv[]); | 1251 | int inetd_main(int argc, char **argv); |
1252 | int inetd_main(int argc, char *argv[]) | 1252 | int inetd_main(int argc, char **argv) |
1253 | { | 1253 | { |
1254 | servtab_t *sep; | 1254 | servtab_t *sep; |
1255 | struct passwd *pwd; | 1255 | struct passwd *pwd; |
diff --git a/networking/traceroute.c b/networking/traceroute.c index 552903655..33023e74f 100644 --- a/networking/traceroute.c +++ b/networking/traceroute.c | |||
@@ -915,8 +915,8 @@ getaddr(uint32_t *ap, const char *host) | |||
915 | #endif | 915 | #endif |
916 | 916 | ||
917 | 917 | ||
918 | int traceroute_main(int argc, char *argv[]); | 918 | int traceroute_main(int argc, char **argv); |
919 | int traceroute_main(int argc, char *argv[]) | 919 | int traceroute_main(int argc, char **argv) |
920 | { | 920 | { |
921 | int code, n; | 921 | int code, n; |
922 | unsigned char *outp; | 922 | unsigned char *outp; |
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c index dc10386d5..e8cdd79df 100644 --- a/networking/udhcp/dhcpc.c +++ b/networking/udhcp/dhcpc.c | |||
@@ -132,8 +132,8 @@ static uint8_t* alloc_dhcp_option(int code, const char *str, int extra) | |||
132 | } | 132 | } |
133 | 133 | ||
134 | 134 | ||
135 | int udhcpc_main(int argc, char *argv[]); | 135 | int udhcpc_main(int argc, char **argv); |
136 | int udhcpc_main(int argc, char *argv[]) | 136 | int udhcpc_main(int argc, char **argv) |
137 | { | 137 | { |
138 | uint8_t *temp, *message; | 138 | uint8_t *temp, *message; |
139 | char *str_c, *str_V, *str_h, *str_F, *str_r, *str_T, *str_t; | 139 | char *str_c, *str_V, *str_h, *str_F, *str_r, *str_T, *str_t; |
diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c index ef9aa584e..d85615349 100644 --- a/networking/udhcp/dhcpd.c +++ b/networking/udhcp/dhcpd.c | |||
@@ -21,8 +21,8 @@ struct dhcpOfferedAddr *leases; | |||
21 | struct server_config_t server_config; | 21 | struct server_config_t server_config; |
22 | 22 | ||
23 | 23 | ||
24 | int udhcpd_main(int argc, char *argv[]); | 24 | int udhcpd_main(int argc, char **argv); |
25 | int udhcpd_main(int argc, char *argv[]) | 25 | int udhcpd_main(int argc, char **argv) |
26 | { | 26 | { |
27 | fd_set rfds; | 27 | fd_set rfds; |
28 | struct timeval tv; | 28 | struct timeval tv; |
diff --git a/networking/udhcp/dumpleases.c b/networking/udhcp/dumpleases.c index 507663fd9..01c7c27e8 100644 --- a/networking/udhcp/dumpleases.c +++ b/networking/udhcp/dumpleases.c | |||
@@ -7,8 +7,8 @@ | |||
7 | #include "common.h" | 7 | #include "common.h" |
8 | #include "dhcpd.h" | 8 | #include "dhcpd.h" |
9 | 9 | ||
10 | int dumpleases_main(int argc, char *argv[]); | 10 | int dumpleases_main(int argc, char **argv); |
11 | int dumpleases_main(int argc, char *argv[]) | 11 | int dumpleases_main(int argc, char **argv) |
12 | { | 12 | { |
13 | int fd; | 13 | int fd; |
14 | int i; | 14 | int i; |
diff --git a/networking/zcip.c b/networking/zcip.c index 6035b91e1..552833f9f 100644 --- a/networking/zcip.c +++ b/networking/zcip.c | |||
@@ -159,8 +159,8 @@ static unsigned ATTRIBUTE_ALWAYS_INLINE ms_rdelay(unsigned secs) | |||
159 | /** | 159 | /** |
160 | * main program | 160 | * main program |
161 | */ | 161 | */ |
162 | int zcip_main(int argc, char *argv[]); | 162 | int zcip_main(int argc, char **argv); |
163 | int zcip_main(int argc, char *argv[]) | 163 | int zcip_main(int argc, char **argv) |
164 | { | 164 | { |
165 | int state = PROBE; | 165 | int state = PROBE; |
166 | struct ether_addr eth_addr; | 166 | struct ether_addr eth_addr; |
diff --git a/scripts/basic/docproc.c b/scripts/basic/docproc.c index cb02baa63..d9db84ac5 100644 --- a/scripts/basic/docproc.c +++ b/scripts/basic/docproc.c | |||
@@ -331,7 +331,7 @@ void parse_file(FILE *infile) | |||
331 | } | 331 | } |
332 | 332 | ||
333 | 333 | ||
334 | int main(int argc, char *argv[]) | 334 | int main(int argc, char **argv) |
335 | { | 335 | { |
336 | FILE * infile; | 336 | FILE * infile; |
337 | if (argc != 3) { | 337 | if (argc != 3) { |
diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c index a96239d38..811d48b78 100644 --- a/scripts/basic/fixdep.c +++ b/scripts/basic/fixdep.c | |||
@@ -386,7 +386,7 @@ void traps(void) | |||
386 | */ | 386 | */ |
387 | } | 387 | } |
388 | 388 | ||
389 | int main(int argc, char *argv[]) | 389 | int main(int argc, char **argv) |
390 | { | 390 | { |
391 | traps(); | 391 | traps(); |
392 | 392 | ||
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[] = { | |||
120 | }; | 120 | }; |
121 | #endif | 121 | #endif |
122 | 122 | ||
123 | int chcon_main(int argc, char *argv[]); | 123 | int chcon_main(int argc, char **argv); |
124 | int chcon_main(int argc, char *argv[]) | 124 | int chcon_main(int argc, char **argv) |
125 | { | 125 | { |
126 | char *reference_file; | 126 | char *reference_file; |
127 | char *fname; | 127 | 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 @@ | |||
5 | */ | 5 | */ |
6 | #include "busybox.h" | 6 | #include "busybox.h" |
7 | 7 | ||
8 | int load_policy_main(int argc, char *argv[]); | 8 | int load_policy_main(int argc, char **argv); |
9 | int load_policy_main(int argc, char *argv[]) | 9 | int load_policy_main(int argc, char **argv) |
10 | { | 10 | { |
11 | int fd; | 11 | int fd; |
12 | struct stat st; | 12 | 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[] = { | |||
87 | #define OPTS_HELP (1<<5) /* h */ | 87 | #define OPTS_HELP (1<<5) /* h */ |
88 | #define OPTS_CONTEXT_COMPONENT (OPTS_ROLE | OPTS_TYPE | OPTS_USER | OPTS_RANGE) | 88 | #define OPTS_CONTEXT_COMPONENT (OPTS_ROLE | OPTS_TYPE | OPTS_USER | OPTS_RANGE) |
89 | 89 | ||
90 | int runcon_main(int argc, char *argv[]); | 90 | int runcon_main(int argc, char **argv); |
91 | int runcon_main(int argc, char *argv[]) | 91 | int runcon_main(int argc, char **argv) |
92 | { | 92 | { |
93 | char *role = NULL; | 93 | char *role = NULL; |
94 | char *range = NULL; | 94 | char *range = NULL; |
diff --git a/shell/bbsh.c b/shell/bbsh.c index fe27f4418..4f38213c9 100644 --- a/shell/bbsh.c +++ b/shell/bbsh.c | |||
@@ -198,8 +198,8 @@ static void handle(char *command) | |||
198 | } | 198 | } |
199 | } | 199 | } |
200 | 200 | ||
201 | int bbsh_main(int argc, char *argv[]); | 201 | int bbsh_main(int argc, char **argv); |
202 | int bbsh_main(int argc, char *argv[]) | 202 | int bbsh_main(int argc, char **argv) |
203 | { | 203 | { |
204 | char *command=NULL; | 204 | char *command=NULL; |
205 | FILE *f; | 205 | FILE *f; |
diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c index 0bbc306fc..820b837c9 100644 --- a/util-linux/dmesg.c +++ b/util-linux/dmesg.c | |||
@@ -13,8 +13,8 @@ | |||
13 | #include <unistd.h> | 13 | #include <unistd.h> |
14 | #include <sys/klog.h> | 14 | #include <sys/klog.h> |
15 | 15 | ||
16 | int dmesg_main(int argc, char *argv[]); | 16 | int dmesg_main(int argc, char **argv); |
17 | int dmesg_main(int argc, char *argv[]) | 17 | int dmesg_main(int argc, char **argv) |
18 | { | 18 | { |
19 | char *size, *level; | 19 | char *size, *level; |
20 | int flags = getopt32(argc, argv, "cs:n:", &size, &level); | 20 | int flags = getopt32(argc, argv, "cs:n:", &size, &level); |
diff --git a/util-linux/getopt.c b/util-linux/getopt.c index 4861990dd..74e7235ea 100644 --- a/util-linux/getopt.c +++ b/util-linux/getopt.c | |||
@@ -55,7 +55,7 @@ static int alternative; /* 0 is getopt_long, 1 is getopt_long_only */ | |||
55 | 55 | ||
56 | /* Function prototypes */ | 56 | /* Function prototypes */ |
57 | static const char *normalize(const char *arg); | 57 | static const char *normalize(const char *arg); |
58 | static int generate_output(char * argv[],int argc,const char *optstr, | 58 | static int generate_output(char **argv,int argc,const char *optstr, |
59 | const struct option *longopts); | 59 | const struct option *longopts); |
60 | static void add_long_options(char *options); | 60 | static void add_long_options(char *options); |
61 | static void add_longopt(const char *name,int has_arg); | 61 | static void add_longopt(const char *name,int has_arg); |
@@ -133,7 +133,7 @@ const char *normalize(const char *arg) | |||
133 | * optstr must contain the short options, and longopts the long options. | 133 | * optstr must contain the short options, and longopts the long options. |
134 | * Other settings are found in global variables. | 134 | * Other settings are found in global variables. |
135 | */ | 135 | */ |
136 | int generate_output(char * argv[],int argc,const char *optstr, | 136 | int generate_output(char **argv,int argc,const char *optstr, |
137 | const struct option *longopts) | 137 | const struct option *longopts) |
138 | { | 138 | { |
139 | int exit_code = 0; /* We assume everything will be OK */ | 139 | int exit_code = 0; /* We assume everything will be OK */ |
@@ -288,8 +288,8 @@ static const struct option longopts[]= | |||
288 | static const char shortopts[]="+ao:l:n:qQs:Tu"; | 288 | static const char shortopts[]="+ao:l:n:qQs:Tu"; |
289 | 289 | ||
290 | 290 | ||
291 | int getopt_main(int argc, char *argv[]); | 291 | int getopt_main(int argc, char **argv); |
292 | int getopt_main(int argc, char *argv[]) | 292 | int getopt_main(int argc, char **argv) |
293 | { | 293 | { |
294 | const char *optstr = NULL; | 294 | const char *optstr = NULL; |
295 | char *name = NULL; | 295 | char *name = NULL; |
diff --git a/util-linux/mdev.c b/util-linux/mdev.c index f9f067dfe..6ff49fc01 100644 --- a/util-linux/mdev.c +++ b/util-linux/mdev.c | |||
@@ -230,8 +230,8 @@ static void find_dev(char *path) | |||
230 | closedir(dir); | 230 | closedir(dir); |
231 | } | 231 | } |
232 | 232 | ||
233 | int mdev_main(int argc, char *argv[]); | 233 | int mdev_main(int argc, char **argv); |
234 | int mdev_main(int argc, char *argv[]) | 234 | int mdev_main(int argc, char **argv) |
235 | { | 235 | { |
236 | char *action; | 236 | char *action; |
237 | char *env_path; | 237 | char *env_path; |
diff --git a/util-linux/mkswap.c b/util-linux/mkswap.c index ac894d50a..a84792c66 100644 --- a/util-linux/mkswap.c +++ b/util-linux/mkswap.c | |||
@@ -8,8 +8,8 @@ | |||
8 | 8 | ||
9 | #include "busybox.h" | 9 | #include "busybox.h" |
10 | 10 | ||
11 | int mkswap_main(int argc, char *argv[]); | 11 | int mkswap_main(int argc, char **argv); |
12 | int mkswap_main(int argc, char *argv[]) | 12 | int mkswap_main(int argc, char **argv) |
13 | { | 13 | { |
14 | int fd, pagesize; | 14 | int fd, pagesize; |
15 | off_t len; | 15 | off_t len; |
diff --git a/util-linux/switch_root.c b/util-linux/switch_root.c index 5a01fd6f7..43c2a6991 100644 --- a/util-linux/switch_root.c +++ b/util-linux/switch_root.c | |||
@@ -63,8 +63,8 @@ static void delete_contents(const char *directory) | |||
63 | } else unlink(directory); | 63 | } else unlink(directory); |
64 | } | 64 | } |
65 | 65 | ||
66 | int switch_root_main(int argc, char *argv[]); | 66 | int switch_root_main(int argc, char **argv); |
67 | int switch_root_main(int argc, char *argv[]) | 67 | int switch_root_main(int argc, char **argv) |
68 | { | 68 | { |
69 | char *newroot, *console=NULL; | 69 | char *newroot, *console=NULL; |
70 | struct stat st1, st2; | 70 | struct stat st1, st2; |