summaryrefslogtreecommitdiff
path: root/networking/udhcp/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/common.h')
-rw-r--r--networking/udhcp/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h
index 6907e7f..a9c23a1 100644
--- a/networking/udhcp/common.h
+++ b/networking/udhcp/common.h
@@ -295,7 +295,9 @@ int FAST_FUNC udhcp_str2optset(const char *str,
const struct dhcp_optflag *optflags,
const char *option_strings);
+#if ENABLE_UDHCPC || ENABLE_UDHCPD
void udhcp_init_header(struct dhcp_packet *packet, char type) FAST_FUNC;
+#endif
int udhcp_recv_kernel_packet(struct dhcp_packet *packet, int fd) FAST_FUNC;