aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
Diffstat (limited to 'networking')
-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 33cd25aff..40e68a0a8 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 4af61b005..03acee2fc 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