Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750778Ab3IXEZE (ORCPT ); Tue, 24 Sep 2013 00:25:04 -0400 Received: from s15283307.onlinehome-server.info ([87.106.208.187]:42784 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750708Ab3IXEZB (ORCPT ); Tue, 24 Sep 2013 00:25:01 -0400 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: [PATCH 08/12] bluetooth: Remove extern from function prototypes From: Marcel Holtmann In-Reply-To: Date: Tue, 24 Sep 2013 06:24:54 +0200 Cc: netdev@vger.kernel.org, "David S. Miller" , linux-kernel@vger.kernel.org, Gustavo Padovan , Johan Hedberg , linux-bluetooth@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: References: <445209f8885ccd8234fa787c30d63e63fc7917d7.1379961014.git.joe@perches.com> To: Joe Perches X-Mailer: Apple Mail (2.1510) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 941 Lines: 28 Hi Joe, > There are a mix of function prototypes with and without extern > in the kernel sources. Standardize on not using extern for > function prototypes. > > Function prototypes don't need to be written with extern. > extern is assumed by the compiler. Its use is as unnecessary as > using auto to declare automatic/local variables in a block. > > Signed-off-by: Joe Perches > --- > include/net/bluetooth/bluetooth.h | 16 ++++++++-------- > include/net/bluetooth/hci_core.h | 23 +++++++++++------------ > include/net/bluetooth/rfcomm.h | 4 ++-- > 3 files changed, 21 insertions(+), 22 deletions(-) Acked-by: Marcel Holtmann Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/