From owner-cvs-all Fri Dec 4 00:34:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA08036 for cvs-all-outgoing; Fri, 4 Dec 1998 00:34:57 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from nagual.pp.ru (lsd.relcom.eu.net [193.125.27.73]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA08030; Fri, 4 Dec 1998 00:34:55 -0800 (PST) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.9.1/8.9.1) id LAA20812; Fri, 4 Dec 1998 11:34:28 +0300 (MSK) (envelope-from ache) Message-ID: <19981204113427.A19232@nagual.pp.ru> Date: Fri, 4 Dec 1998 11:34:27 +0300 From: "Andrey A. Chernov" To: Matthew Dillon Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/netinet icmp_var.h Mail-Followup-To: Matthew Dillon , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <199812040349.TAA22636@freefall.freebsd.org> <19981204070811.A40154@nagual.pp.ru> <19981204071357.A41880@nagual.pp.ru> <199812040427.UAA03604@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199812040427.UAA03604@apollo.backplane.com>; from dillon@apollo.backplane.com on Thu, Dec 03, 1998 at 08:27:55PM -0800 Organization: Biomechanoid Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Thu, Dec 03, 1998 at 08:27:55PM -0800, Matthew Dillon wrote: > Due to the extern badport_bandlim() I have to keep the #include in > icmp_var.h ... but it isn't that bad, only three kernel files depend > on icmp_var.h. I agree that doing the #include'ing in the two C files > is cleaner, but what to do about the extern then ? Even in this variant you can safely remove opt_....h from icmp_var.h and include it only into really affected *.c files instead (before icmp_var.h). For kernel files which not needs this stuff but include icmp_var.h even badport_...() prototype will be not picked which is good. -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC>+ D A a++ C G>+ QH+(++) 666+>++ Y To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message