suppress warnings about easch <applet>_main() having
no preceding prototype
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c
index e48e1f2..a59c5db 100644
--- a/networking/udhcp/dhcpc.c
+++ b/networking/udhcp/dhcpc.c
@@ -122,6 +122,7 @@
}
+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 7d0b8fa..90d8f0d 100644
--- a/networking/udhcp/dhcpd.c
+++ b/networking/udhcp/dhcpd.c
@@ -20,6 +20,7 @@
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 418aa7c..9bb7aea 100644
--- a/networking/udhcp/dhcprelay.c
+++ b/networking/udhcp/dhcprelay.c
@@ -295,6 +295,7 @@
}
}
+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 a0e81bb..ce73c47 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;