diff options
Diffstat (limited to 'networking/libiproute/libnetlink.c')
-rw-r--r-- | networking/libiproute/libnetlink.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/networking/libiproute/libnetlink.c b/networking/libiproute/libnetlink.c index 7ad2de9fa..b4cc8dfa4 100644 --- a/networking/libiproute/libnetlink.c +++ b/networking/libiproute/libnetlink.c | |||
@@ -104,7 +104,7 @@ int FAST_FUNC rtnl_dump_request(struct rtnl_handle *rth, int type, void *req, in | |||
104 | } | 104 | } |
105 | 105 | ||
106 | static int rtnl_dump_filter(struct rtnl_handle *rth, | 106 | static int rtnl_dump_filter(struct rtnl_handle *rth, |
107 | int (*filter)(const struct sockaddr_nl *, struct nlmsghdr *n, void *), | 107 | int (*filter)(const struct sockaddr_nl *, struct nlmsghdr *n, void *) FAST_FUNC, |
108 | void *arg1/*, | 108 | void *arg1/*, |
109 | int (*junk)(struct sockaddr_nl *, struct nlmsghdr *n, void *), | 109 | int (*junk)(struct sockaddr_nl *, struct nlmsghdr *n, void *), |
110 | void *arg2*/) | 110 | void *arg2*/) |
@@ -196,7 +196,7 @@ static int rtnl_dump_filter(struct rtnl_handle *rth, | |||
196 | } | 196 | } |
197 | 197 | ||
198 | int FAST_FUNC xrtnl_dump_filter(struct rtnl_handle *rth, | 198 | int FAST_FUNC xrtnl_dump_filter(struct rtnl_handle *rth, |
199 | int (*filter)(const struct sockaddr_nl *, struct nlmsghdr *, void *), | 199 | int (*filter)(const struct sockaddr_nl *, struct nlmsghdr *, void *) FAST_FUNC, |
200 | void *arg1) | 200 | void *arg1) |
201 | { | 201 | { |
202 | int ret = rtnl_dump_filter(rth, filter, arg1/*, NULL, NULL*/); | 202 | int ret = rtnl_dump_filter(rth, filter, arg1/*, NULL, NULL*/); |
@@ -206,10 +206,10 @@ int FAST_FUNC xrtnl_dump_filter(struct rtnl_handle *rth, | |||
206 | } | 206 | } |
207 | 207 | ||
208 | int FAST_FUNC rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, | 208 | int FAST_FUNC rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, |
209 | pid_t peer, unsigned groups, | 209 | pid_t peer, unsigned groups, |
210 | struct nlmsghdr *answer, | 210 | struct nlmsghdr *answer, |
211 | int (*junk)(struct sockaddr_nl *, struct nlmsghdr *, void *), | 211 | int (*junk)(struct sockaddr_nl *, struct nlmsghdr *, void *), |
212 | void *jarg) | 212 | void *jarg) |
213 | { | 213 | { |
214 | /* bbox doesn't use parameters no. 3, 4, 6, 7, they are stubbed out */ | 214 | /* bbox doesn't use parameters no. 3, 4, 6, 7, they are stubbed out */ |
215 | #define peer 0 | 215 | #define peer 0 |