Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 2002 16:53:50 -0400 (EDT)
From:      Garrett Wollman <wollman@lcs.mit.edu>
To:        Giorgos Keramidas <keramida@FreeBSD.ORG>
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: misc/40399: missing extern "C" in fetch.h
Message-ID:  <200207102053.g6AKroIB046739@khavrinen.lcs.mit.edu>
In-Reply-To: <200207102020.g6AKK3sf037392@freefall.freebsd.org>
References:  <200207102020.g6AKK3sf037392@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Wed, 10 Jul 2002 13:20:03 -0700 (PDT), Giorgos Keramidas <keramida@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207102053.g6AKroIB046739>