batman-adv: Make gateway_get_selected type safe
authorLinus Lüssing <linus.luessing@web.de>
Mon, 14 Mar 2011 22:43:30 +0000 (22:43 +0000)
committerSven Eckelmann <sven@narfation.org>
Sun, 17 Apr 2011 19:11:01 +0000 (21:11 +0200)
commit4c804850572f70a2350e4d1e79d6659392b07733
tree54707084e38a1995aec5fc2eb44c114f15a48f85
parent551586292b39da6e4fbfbb5b96b57b68decfdab9
batman-adv: Make gateway_get_selected type safe

Make the return value explicit instead of (void *).

Signed-off-by: Linus Lüssing <linus.luessing@web.de>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/gateway_client.c
net/batman-adv/gateway_client.h