summaryrefslogtreecommitdiff
path: root/networking/udhcp
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2007-04-04 20:52:03 +0000
committerBernhard Reutner-Fischer2007-04-04 20:52:03 +0000
commitfebe3c421109032cdfb36249c54e314d39256ace (patch)
tree5bf5f4b36eadcff8d4e707d4f46e85c590a53436 /networking/udhcp
parentd9c2d5fe4ffeedeadc26c1ee64247c72cdbd064a (diff)
downloadbusybox-febe3c421109032cdfb36249c54e314d39256ace.zip
busybox-febe3c421109032cdfb36249c54e314d39256ace.tar.gz
- sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"
Diffstat (limited to 'networking/udhcp')
-rw-r--r--networking/udhcp/dhcpc.c4
-rw-r--r--networking/udhcp/dhcpd.c4
-rw-r--r--networking/udhcp/dumpleases.c4
3 files changed, 6 insertions, 6 deletions
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;