diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2018-11-17 18:41:16 +0100 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2018-11-19 09:02:29 +0100 |
commit | 70506bf09b8ef971ae90155bc86ef3e9bed6785f (patch) | |
tree | a429f5c7443721e53ce6a8dd7a118a70f6c70088 /interface.c | |
parent | d9872db72eb63e9fa454446756e10fc7c52effc5 (diff) |
treewide: make some functions static
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'interface.c')
-rw-r--r-- | interface.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/interface.c b/interface.c index 4a09a22..041f0a5 100644 --- a/interface.c +++ b/interface.c @@ -78,7 +78,7 @@ const struct uci_blob_param_list interface_attr_list = { }; static void -set_config_state(struct interface *iface, enum interface_config_state s); +interface_set_main_dev(struct interface *iface, struct device *dev); static void interface_event(struct interface *iface, enum interface_event ev); @@ -964,7 +964,7 @@ interface_set_l3_dev(struct interface *iface, struct device *dev) } } -void +static void interface_set_main_dev(struct interface *iface, struct device *dev) { bool claimed = iface->l3_dev.claimed; @@ -988,7 +988,7 @@ interface_set_main_dev(struct interface *iface, struct device *dev) interface_set_l3_dev(iface, dev); } -int +static int interface_remove_link(struct interface *iface, struct device *dev) { struct device *mdev = iface->main_dev.dev; |