Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 26 Feb 2003 11:53:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 26 Feb 2003 11:53:16 -0500 Received: from inti.inf.utfsm.cl ([200.1.21.155]:46466 "EHLO inti.inf.utfsm.cl") by vger.kernel.org with ESMTP id ; Wed, 26 Feb 2003 11:53:15 -0500 Message-Id: <200302261702.h1QH2WL2004926@eeyore.valparaiso.cl> To: Rusty Russell Cc: Linux Kernel Mailing List Subject: Re: [PATCH] eliminate warnings in generated module files In-Reply-To: Your message of "Wed, 26 Feb 2003 15:13:09 +1100." <20030226041359.C54792C04C@lists.samba.org> Date: Wed, 26 Feb 2003 18:02:31 +0100 From: Horst von Brand Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1094 Lines: 31 > In message > you > write: [...] > > Also, I don't really see any use for __optional at this point, so why add > > it at all? > >From ip_conntrack_core.c: > #ifdef CONFIG_SYSCTL > [snipped largeish data structure] > #endif /*CONFIG_SYSCTL*/ > > I'd love to frop the #ifdef and just mark them __optional: before that > would just mean bloat, but when gcc 3.3 rolls in, they should vanish > nicely. If gcc will just discard it, why bother marking it specially? Unless it gives ugly warnings, that is. -- Dr. Horst H. von Brand User #22616 counter.li.org Departamento de Informatica Fono: +56 32 654431 Universidad Tecnica Federico Santa Maria +56 32 654239 Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513 - 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/