From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932758AbVHSXlY (ORCPT ); Fri, 19 Aug 2005 19:41:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932760AbVHSXlY (ORCPT ); Fri, 19 Aug 2005 19:41:24 -0400 Received: from emailhub.stusta.mhn.de ([141.84.69.5]:11027 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S965184AbVHSXlV (ORCPT ); Fri, 19 Aug 2005 19:41:21 -0400 Date: Sat, 20 Aug 2005 01:41:19 +0200 From: Adrian Bunk To: linux-kernel@vger.kernel.org Subject: [2.6 patch] "extern inline" doesn't make sense Message-ID: <20050819234119.GD3615@stusta.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org "extern inline" doesn't make sense. Signed-off-by: Adrian Bunk --- linux-2.6.13-rc6-mm1-full/fs/adfs/adfs.h.old 2005-08-19 23:21:33.000000000 +0200 +++ linux-2.6.13-rc6-mm1-full/fs/adfs/adfs.h 2005-08-19 23:22:07.000000000 +0200 @@ -97,7 +97,7 @@ extern struct inode_operations adfs_file_inode_operations; extern struct file_operations adfs_file_operations; -extern inline __u32 signed_asl(__u32 val, signed int shift) +static inline __u32 signed_asl(__u32 val, signed int shift) { if (shift >= 0) val <<= shift; @@ -112,7 +112,7 @@ * * The root directory ID should always be looked up in the map [3.4] */ -extern inline int +static inline int __adfs_block_map(struct super_block *sb, unsigned int object_id, unsigned int block) {