[1/2] batman-adv: Add missing static for softif_neigh_deselect

Message ID 1301640559-4152-1-git-send-email-sven@narfation.org (mailing list archive)
State Accepted, archived
Commit a9125b62d6181601afc36b49cce944f04555e398
Headers

Commit Message

Sven Eckelmann April 1, 2011, 6:49 a.m. UTC
  053e6e6c30c161c218eacf2eb2eb4c7ecc0f387c forgot to mark the only locally
used function softif_neigh_deselect as static.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
 soft-interface.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
  

Comments

Marek Lindner April 1, 2011, 7:52 p.m. UTC | #1
On Friday 01 April 2011 08:49:18 Sven Eckelmann wrote:
> 053e6e6c30c161c218eacf2eb2eb4c7ecc0f387c forgot to mark the only locally
> used function softif_neigh_deselect as static.

Applied in revision ga9125b6.

Thanks,
Marek
  

Patch

diff --git a/soft-interface.c b/soft-interface.c
index 599b668..58ce440 100644
--- a/soft-interface.c
+++ b/soft-interface.c
@@ -123,7 +123,7 @@  static void softif_neigh_select(struct bat_priv *bat_priv,
 	spin_unlock_bh(&bat_priv->softif_neigh_lock);
 }
 
-void softif_neigh_deselect(struct bat_priv *bat_priv)
+static void softif_neigh_deselect(struct bat_priv *bat_priv)
 {
 	softif_neigh_select(bat_priv, NULL);
 }