Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754308Ab3I1TR6 (ORCPT ); Sat, 28 Sep 2013 15:17:58 -0400 Received: from ares07.inai.de ([5.9.24.206]:50176 "EHLO ares07.inai.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751184Ab3I1TR4 (ORCPT ); Sat, 28 Sep 2013 15:17:56 -0400 Date: Sat, 28 Sep 2013 21:17:54 +0200 (CEST) From: Jan Engelhardt To: Joe Perches cc: netdev@vger.kernel.org, "David S. Miller" , linux-kernel@vger.kernel.org, Pablo Neira Ayuso , Patrick McHardy , Jozsef Kadlecsik , netfilter-devel@vger.kernel.org, netfilter@vger.kernel.org, coreteam@netfilter.org Subject: Re: [PATCH 11/12] netfilter: Remove extern from function prototypes In-Reply-To: Message-ID: References: <445209f8885ccd8234fa787c30d63e63fc7917d7.1379961014.git.joe@perches.com> User-Agent: Alpine 2.11 (LSU 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 700 Lines: 16 On Monday 2013-09-23 20:37, Joe Perches wrote: >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. Or you could just extern all functions for consistency with variables. -- 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/