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" --- networking/udhcp/dhcpc.c | 4 ++-- networking/udhcp/dhcpd.c | 4 ++-- networking/udhcp/dumpleases.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'networking/udhcp') 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) } -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 ef9aa584e..d85615349 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 507663fd9..01c7c27e8 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; -- cgit v1.2.3