diff options
author | Rosen Penev <rosenp@gmail.com> | 2017-06-25 17:18:06 -0700 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2017-06-26 21:27:46 +0200 |
commit | d397e8ca5dd492a1fac2e186e2a8b91ac8e463df (patch) | |
tree | e6401f7ec1d50df70680e922696eb972b8f33f19 /device.h | |
parent | ef5f7a09a202ba6c3d2021af0b36ee32a18f680f (diff) |
netifd: Fix printf calls + function declarations.
cppcheck found printf functions with signed instead of unsigned
formats. Fix those as well as some non-matching function
declarations.
Signed-off by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -253,11 +253,11 @@ void device_reset_old(void); void device_set_default_ps(bool state); void device_init_virtual(struct device *dev, struct device_type *type, const char *name); -int device_init(struct device *iface, struct device_type *type, const char *ifname); +int device_init(struct device *dev, struct device_type *type, const char *ifname); void device_cleanup(struct device *dev); struct device *device_find(const char *name); struct device *device_get(const char *name, int create); -void device_add_user(struct device_user *dep, struct device *iface); +void device_add_user(struct device_user *dep, struct device *dev); void device_remove_user(struct device_user *dep); void device_broadcast_event(struct device *dev, enum device_event ev); |