diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-04-04 20:52:03 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-04-04 20:52:03 +0000 |
commit | febe3c421109032cdfb36249c54e314d39256ace (patch) | |
tree | 5bf5f4b36eadcff8d4e707d4f46e85c590a53436 /networking | |
parent | d9c2d5fe4ffeedeadc26c1ee64247c72cdbd064a (diff) | |
download | busybox-w32-febe3c421109032cdfb36249c54e314d39256ace.tar.gz busybox-w32-febe3c421109032cdfb36249c54e314d39256ace.tar.bz2 busybox-w32-febe3c421109032cdfb36249c54e314d39256ace.zip |
- sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"
Diffstat (limited to 'networking')
-rw-r--r-- | networking/ether-wake.c | 4 | ||||
-rw-r--r-- | networking/httpd.c | 4 | ||||
-rw-r--r-- | networking/inetd.c | 4 | ||||
-rw-r--r-- | networking/traceroute.c | 4 | ||||
-rw-r--r-- | networking/udhcp/dhcpc.c | 4 | ||||
-rw-r--r-- | networking/udhcp/dhcpd.c | 4 | ||||
-rw-r--r-- | networking/udhcp/dumpleases.c | 4 | ||||
-rw-r--r-- | networking/zcip.c | 4 |
8 files changed, 16 insertions, 16 deletions
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; |