summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-05-02 23:00:30 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-05-02 23:00:30 +0200
commit273550337f70b8b2175875e0c4f0bbd483cfe326 (patch)
treeb433b4dcc731d61f750692a2a531c21e5eac4f26 /system.h
parent85218c601b0f5895f9025910643761930c02eb1a (diff)
downloadnetifd-273550337f70b8b2175875e0c4f0bbd483cfe326.tar.gz
move interface address handling to the device module, clean up arguments to system_{add,del}_addr
Diffstat (limited to 'system.h')
-rw-r--r--system.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/system.h b/system.h
index 35f0971..3364151 100644
--- a/system.h
+++ b/system.h
@@ -16,7 +16,7 @@ int system_if_up(struct device *dev);
int system_if_down(struct device *dev);
int system_if_check(struct device *dev);
-int system_add_address(struct device *dev, int family, void *addr, int prefixlen);
-int system_del_address(struct device *dev, int family, void *addr);
+int system_add_address(struct device *dev, struct device_addr *addr);
+int system_del_address(struct device *dev, struct device_addr *addr);
#endif