diff options
author | Bernhard Reutner-Fischer | 2007-04-04 20:52:03 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2007-04-04 20:52:03 +0000 |
commit | febe3c421109032cdfb36249c54e314d39256ace (patch) | |
tree | 5bf5f4b36eadcff8d4e707d4f46e85c590a53436 /networking | |
parent | d9c2d5fe4ffeedeadc26c1ee64247c72cdbd064a (diff) | |
download | busybox-febe3c421109032cdfb36249c54e314d39256ace.zip busybox-febe3c421109032cdfb36249c54e314d39256ace.tar.gz |
- 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 73f693e..e971ba3 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); static inline int get_fill(unsigned char *pkt, struct ether_addr *eaddr, int broadcast); static inline int get_wol_pw(const char *ethoptarg, unsigned char *wol_passwd); -int ether_wake_main(int argc, char *argv[]); -int ether_wake_main(int argc, char *argv[]) +int ether_wake_main(int argc, char **argv); +int ether_wake_main(int argc, char **argv) { const char *ifname = "eth0"; char *pass = NULL; diff --git a/networking/httpd.c b/networking/httpd.c index 8ab2bc4..7ee62c3 100644 --- a/networking/httpd.c +++ b/networking/httpd.c @@ -1939,8 +1939,8 @@ enum { }; -int httpd_main(int argc, char *argv[]); -int httpd_main(int argc, char *argv[]) +int httpd_main(int argc, char **argv); +int httpd_main(int argc, char **argv) { unsigned opt; const char *home_httpd = home; diff --git a/networking/inetd.c b/networking/inetd.c index fd72aa7..0ba3b94 100644 --- a/networking/inetd.c +++ b/networking/inetd.c @@ -1248,8 +1248,8 @@ inetd_setproctitle(char *a, int s) #endif -int inetd_main(int argc, char *argv[]); -int inetd_main(int argc, char *argv[]) +int inetd_main(int argc, char **argv); +int inetd_main(int argc, char **argv) { servtab_t *sep; struct passwd *pwd; diff --git a/networking/traceroute.c b/networking/traceroute.c index 5529036..33023e7 100644 --- a/networking/traceroute.c +++ b/networking/traceroute.c @@ -915,8 +915,8 @@ getaddr(uint32_t *ap, const char *host) #endif -int traceroute_main(int argc, char *argv[]); -int traceroute_main(int argc, char *argv[]) +int traceroute_main(int argc, char **argv); +int traceroute_main(int argc, char **argv) { int code, n; unsigned char *outp; diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c index dc10386..e8cdd79 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) } -int udhcpc_main(int argc, char *argv[]); -int udhcpc_main(int argc, char *argv[]) +int udhcpc_main(int argc, char **argv); +int udhcpc_main(int argc, char **argv) { uint8_t *temp, *message; 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 ef9aa58..d856153 100644 --- a/networking/udhcp/dhcpd.c +++ b/networking/udhcp/dhcpd.c @@ -21,8 +21,8 @@ struct dhcpOfferedAddr *leases; struct server_config_t server_config; -int udhcpd_main(int argc, char *argv[]); -int udhcpd_main(int argc, char *argv[]) +int udhcpd_main(int argc, char **argv); +int udhcpd_main(int argc, char **argv) { fd_set rfds; struct timeval tv; diff --git a/networking/udhcp/dumpleases.c b/networking/udhcp/dumpleases.c index 507663f..01c7c27 100644 --- a/networking/udhcp/dumpleases.c +++ b/networking/udhcp/dumpleases.c @@ -7,8 +7,8 @@ #include "common.h" #include "dhcpd.h" -int dumpleases_main(int argc, char *argv[]); -int dumpleases_main(int argc, char *argv[]) +int dumpleases_main(int argc, char **argv); +int dumpleases_main(int argc, char **argv) { int fd; int i; diff --git a/networking/zcip.c b/networking/zcip.c index 6035b91..552833f 100644 --- a/networking/zcip.c +++ b/networking/zcip.c @@ -159,8 +159,8 @@ static unsigned ATTRIBUTE_ALWAYS_INLINE ms_rdelay(unsigned secs) /** * main program */ -int zcip_main(int argc, char *argv[]); -int zcip_main(int argc, char *argv[]) +int zcip_main(int argc, char **argv); +int zcip_main(int argc, char **argv) { int state = PROBE; struct ether_addr eth_addr; |