From owner-freebsd-bugs Wed Jul 10 13:53:54 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C332937B400; Wed, 10 Jul 2002 13:53:52 -0700 (PDT) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 190A343E31; Wed, 10 Jul 2002 13:53:52 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.3/8.12.3) with ESMTP id g6AKrpRC046742; Wed, 10 Jul 2002 16:53:51 -0400 (EDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.3/8.12.3/Submit) id g6AKroIB046739; Wed, 10 Jul 2002 16:53:50 -0400 (EDT) (envelope-from wollman) Date: Wed, 10 Jul 2002 16:53:50 -0400 (EDT) From: Garrett Wollman Message-Id: <200207102053.g6AKroIB046739@khavrinen.lcs.mit.edu> To: Giorgos Keramidas Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: misc/40399: missing extern "C" in fetch.h In-Reply-To: <200207102020.g6AKK3sf037392@freefall.freebsd.org> References: <200207102020.g6AKK3sf037392@freefall.freebsd.org> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org < said: > I'm not sure it's a nice idea to "pollute" all the headers of the base > system with `extern "C" { ... }' blocks. That is the standard FreeBSD (and 4.4BSD) practice. $ find /usr/include -name '*.h' | xargs fgrep __BEGIN_DECLS | wc -l -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message