aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
105 105
106 106
107/* add an option to the opt_list */ 107/* add an option to the opt_list */
108void attach_option(struct option_set **opt_list, struct dhcp_option *option, char *buffer, int length) 108static void attach_option(struct option_set **opt_list, struct dhcp_option *option, char *buffer, int length)
109{ 109{
110 struct option_set *existing, *new, **curr; 110 struct option_set *existing, *new, **curr;
111 111
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);
15void read_leases(const char *file); 15void read_leases(const char *file);
16 16
17struct option_set *find_option(struct option_set *opt_list, char code); 17struct option_set *find_option(struct option_set *opt_list, char code);
18void attach_option(struct option_set **opt_list, struct dhcp_option *option, char *buffer, int length);
19 18
20#endif 19#endif