-static void nl80211_cb(struct nl80211_msg_conveyor *cv,
- int (*cb)(struct nl_msg *, void *), void *arg)
-{
- cv->custom_cb = 1;
- nl_cb_set(cv->cb, NL_CB_VALID, NL_CB_CUSTOM, cb, arg);
-}
-
-static struct nl80211_msg_conveyor * nl80211_send(struct nl80211_msg_conveyor *cv)
-{
+static struct nl80211_msg_conveyor * nl80211_send(
+ struct nl80211_msg_conveyor *cv,
+ int (*cb_func)(struct nl_msg *, void *), void *cb_arg
+) {