summaryrefslogtreecommitdiff
path: root/networking/udhcp
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp')
-rw-r--r--networking/udhcp/files.c2
-rw-r--r--networking/udhcp/files.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/networking/udhcp/files.c b/networking/udhcp/files.c
index 33cd25a..40e68a0 100644
--- a/networking/udhcp/files.c
+++ b/networking/udhcp/files.c
@@ -105,7 +105,7 @@ struct option_set *find_option(struct option_set *opt_list, char code)
/* add an option to the opt_list */
-void attach_option(struct option_set **opt_list, struct dhcp_option *option, char *buffer, int length)
+static void attach_option(struct option_set **opt_list, struct dhcp_option *option, char *buffer, int length)
{
struct option_set *existing, *new, **curr;
diff --git a/networking/udhcp/files.h b/networking/udhcp/files.h
index 4af61b0..03acee2 100644
--- a/networking/udhcp/files.h
+++ b/networking/udhcp/files.h
@@ -15,6 +15,5 @@ void write_leases(void);
void read_leases(const char *file);
struct option_set *find_option(struct option_set *opt_list, char code);
-void attach_option(struct option_set **opt_list, struct dhcp_option *option, char *buffer, int length);
#endif