diff options
Diffstat (limited to 'include/rtnl.h')
-rw-r--r-- | include/rtnl.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/rtnl.h b/include/rtnl.h index c78556b9..4a60fb0a 100644 --- a/include/rtnl.h +++ b/include/rtnl.h @@ -35,9 +35,9 @@ extern "C" { typedef void (* connman_rtnl_link_cb_t) (unsigned flags, unsigned change, void *user_data); -extern unsigned int connman_rtnl_add_newlink_watch(int index, +unsigned int connman_rtnl_add_newlink_watch(int index, connman_rtnl_link_cb_t callback, void *user_data); -extern void connman_rtnl_remove_watch(unsigned int id); +void connman_rtnl_remove_watch(unsigned int id); #define CONNMAN_RTNL_PRIORITY_LOW -100 #define CONNMAN_RTNL_PRIORITY_DEFAULT 0 @@ -54,11 +54,11 @@ struct connman_rtnl { void (*delgateway) (int index, const char *gateway); }; -extern int connman_rtnl_register(struct connman_rtnl *rtnl); -extern void connman_rtnl_unregister(struct connman_rtnl *rtnl); +int connman_rtnl_register(struct connman_rtnl *rtnl); +void connman_rtnl_unregister(struct connman_rtnl *rtnl); -extern int connman_rtnl_send_getlink(void); -extern int connman_rtnl_send_getroute(void); +int connman_rtnl_send_getlink(void); +int connman_rtnl_send_getroute(void); #ifdef __cplusplus } |