summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/main.h
diff options
context:
space:
mode:
authorMarkus Pargmann <mpa@pengutronix.de>2014-12-26 12:41:38 +0100
committerAntonio Quartulli <antonio@meshcoding.com>2015-06-03 15:57:24 +0200
commite8ad3b1acfbb022b495f12f4ed6e825d5f53546a (patch)
tree7228e0ba06eba235553cc106a5640a9017333a11 /net/batman-adv/main.h
parentbatman-adv: Remove unnecessary check for orig_ifinfo not NULL (diff)
downloadlinux-e8ad3b1acfbb022b495f12f4ed6e825d5f53546a.tar.xz
linux-e8ad3b1acfbb022b495f12f4ed6e825d5f53546a.zip
batman-adv: main, Convert is_my_mac() to bool
It is much clearer to see a bool type as return value than 'int' for functions that are supposed to return true or false. Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Diffstat (limited to 'net/batman-adv/main.h')
-rw-r--r--net/batman-adv/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h
index 026ba37f31a6..96876d29f952 100644
--- a/net/batman-adv/main.h
+++ b/net/batman-adv/main.h
@@ -195,7 +195,7 @@ extern struct workqueue_struct *batadv_event_workqueue;
int batadv_mesh_init(struct net_device *soft_iface);
void batadv_mesh_free(struct net_device *soft_iface);
-int batadv_is_my_mac(struct batadv_priv *bat_priv, const uint8_t *addr);
+bool batadv_is_my_mac(struct batadv_priv *bat_priv, const uint8_t *addr);
struct batadv_hard_iface *
batadv_seq_print_text_primary_if_get(struct seq_file *seq);
int batadv_max_header_len(void);