summaryrefslogtreecommitdiff
path: root/include/rtnl.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-06-29 20:42:11 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-06-29 20:42:11 +0200
commite911899c56f2c6a7c1742ea6c72405118e7b7aaa (patch)
treedfe93714db1ff9191b1237e01187ebdd6ee349dd /include/rtnl.h
parente7268afd947083942836cea24b52a4bdccbf5d19 (diff)
downloadconnman-e911899c56f2c6a7c1742ea6c72405118e7b7aaa.tar.gz
connman-e911899c56f2c6a7c1742ea6c72405118e7b7aaa.tar.bz2
connman-e911899c56f2c6a7c1742ea6c72405118e7b7aaa.zip
Remove the useless extern declaration for public functions
Diffstat (limited to 'include/rtnl.h')
-rw-r--r--include/rtnl.h12
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
}