From patchwork Fri Apr 1 06:49:18 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 905 Return-Path: Received: from v3-1039.vlinux.de (narfation.org [79.140.41.39]) by open-mesh.org (Postfix) with ESMTPS id C68AF15409D for ; Fri, 1 Apr 2011 08:49:29 +0200 (CEST) Authentication-Results: open-mesh.org; dkim=pass (1024-bit key) header.i=@narfation.org; dkim-adsp=pass Received: from sven-desktop.home.narfation.org (camo157-29.hrz.tu-chemnitz.de [134.109.157.29]) by v3-1039.vlinux.de (Postfix) with ESMTPSA id 6DB59940D0; Fri, 1 Apr 2011 08:49:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=narfation.org; s=mail; t=1301640563; bh=PVODrkAcQzHJsdC8L7K7csr1QteX6m0wBORKwW/KxyI=; h=From:To:Cc:Subject:Date:Message-Id; b=BQXVSbXdMLg1H4//GbdFCqOLUfUOPVDZotQrbjvwl8Asdu+IHMRQfK7kHHMijeswB kWw2ltrChAdrTr3BenYtVB7luZ1DJ8LJg6nihMSiTOZag6jWaesGtiqIO9zTnAQOiw pggFQLUuosg6hVkTgbyvTK0z6tfQe+28Do+gQMKo= From: Sven Eckelmann To: b.a.t.m.a.n@lists.open-mesh.org Date: Fri, 1 Apr 2011 08:49:18 +0200 Message-Id: <1301640559-4152-1-git-send-email-sven@narfation.org> X-Mailer: git-send-email 1.7.4.1 Subject: [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: Add missing static for softif_neigh_deselect X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 06:49:30 -0000 053e6e6c30c161c218eacf2eb2eb4c7ecc0f387c forgot to mark the only locally used function softif_neigh_deselect as static. Signed-off-by: Sven Eckelmann --- soft-interface.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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); }