aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp')
-rw-r--r--networking/udhcp/dhcpc.c1
-rw-r--r--networking/udhcp/dhcpd.c1
-rw-r--r--networking/udhcp/dhcprelay.c1
-rw-r--r--networking/udhcp/dumpleases.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c
index e48e1f25e..a59c5db74 100644
--- a/networking/udhcp/dhcpc.c
+++ b/networking/udhcp/dhcpc.c
@@ -122,6 +122,7 @@ 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[])
{
uint8_t *temp, *message;
diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c
index 7d0b8fad1..90d8f0d17 100644
--- a/networking/udhcp/dhcpd.c
+++ b/networking/udhcp/dhcpd.c
@@ -20,6 +20,7 @@ struct dhcpOfferedAddr *leases;
struct server_config_t server_config;
+int udhcpd_main(int argc, char *argv[]);
int udhcpd_main(int argc, char *argv[])
{
fd_set rfds;
diff --git a/networking/udhcp/dhcprelay.c b/networking/udhcp/dhcprelay.c
index 418aa7cbb..9bb7aeab5 100644
--- a/networking/udhcp/dhcprelay.c
+++ b/networking/udhcp/dhcprelay.c
@@ -295,6 +295,7 @@ static void dhcprelay_loop(int *fds, int num_sockets, int max_socket, char **cli
}
}
+int dhcprelay_main(int argc, char **argv);
int dhcprelay_main(int argc, char **argv)
{
int i, num_sockets, max_socket, fds[MAX_INTERFACES];
diff --git a/networking/udhcp/dumpleases.c b/networking/udhcp/dumpleases.c
index a0e81bb13..ce73c474c 100644
--- a/networking/udhcp/dumpleases.c
+++ b/networking/udhcp/dumpleases.c
@@ -11,6 +11,7 @@
#define REMAINING 0
#define ABSOLUTE 1
+int dumpleases_main(int argc, char *argv[]);
int dumpleases_main(int argc, char *argv[])
{
int fp;