Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753659AbXJ1MAN (ORCPT ); Sun, 28 Oct 2007 08:00:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751260AbXJ1L74 (ORCPT ); Sun, 28 Oct 2007 07:59:56 -0400 Received: from cantor.suse.de ([195.135.220.2]:49757 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751121AbXJ1L7z (ORCPT ); Sun, 28 Oct 2007 07:59:55 -0400 Date: Sun, 28 Oct 2007 12:59:52 +0100 From: Bernhard Walle To: viro@zeniv.linux.org.uk, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-arch@vger.kernel.org Cc: Joe Perches , Alexey Dobriyan , akpm@osdl.org, torvalds@osdl.org Subject: Re: [PATCH] proc_fs.h redux Message-ID: <20071028115952.GA18479@suse.de> Mail-Followup-To: viro@zeniv.linux.org.uk, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-arch@vger.kernel.org, Joe Perches , Alexey Dobriyan , akpm@osdl.org, torvalds@osdl.org References: <20071027194758.GD9816@martell.zuzino.mipt.ru> <1193524804.26695.103.camel@localhost> <20071028103415.GA12554@flint.arm.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071028103415.GA12554@flint.arm.linux.org.uk> Organization: SUSE LINUX Products GmbH User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 742 Lines: 20 * Russell King [2007-10-28 11:34]: > > If you go down that route, you end up with _lots_ of circular > dependencies - header file X needs Y needs Z which needs X. We've > been there, several times. It very quickly becomes quite > unmaintainable - you end up with hard to predict behaviour from > include files. > > The only realistic solution is to use forward declarations. In header files, yes. But that's not true for implementation files. Thanks, Bernhard - 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/