diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2018-08-20 14:28:00 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2018-08-20 14:51:59 +0200 |
commit | 7454d121090f60428777c01f431031059acc96eb (patch) | |
tree | a3e642f96b1ed1b2a04f9f4328e4eb25ca49b78f /interface.h | |
parent | 32f11a80c31c3886aaee4c5e3a8e0d1cfb49b0f2 (diff) |
interface: let interface_set_down() return void
Let interface_set_down() return void as no usefull error code
is returned by __interface_set_down()
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'interface.h')
-rw-r--r-- | interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface.h b/interface.h index 95d8f3c..ace6a5d 100644 --- a/interface.h +++ b/interface.h @@ -185,7 +185,7 @@ void interface_set_proto_state(struct interface *iface, struct interface_proto_s void interface_set_available(struct interface *iface, bool new_state); void interface_set_up(struct interface *iface); -int interface_set_down(struct interface *iface); +void interface_set_down(struct interface *iface); int interface_renew(struct interface *iface); void interface_set_main_dev(struct interface *iface, struct device *dev); |