From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/501 Path: news.gmane.org!not-for-mail From: Isaac Dunham Newsgroups: gmane.linux.lib.musl.general Subject: Re: missing extern "C" block Date: Mon, 10 Oct 2011 20:49:46 -0700 Message-ID: <20111010204946.e90ac65a.idunham@lavabit.com> References: <20111010164449.GU24939@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1318305122 15824 80.91.229.12 (11 Oct 2011 03:52:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 11 Oct 2011 03:52:02 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-502-gllmg-musl=m.gmane.org@lists.openwall.com Tue Oct 11 05:51:58 2011 Return-path: Envelope-to: gllmg-musl@lo.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by lo.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1RDTNk-0001Hg-S7 for gllmg-musl@lo.gmane.org; Tue, 11 Oct 2011 05:51:56 +0200 Original-Received: (qmail 28140 invoked by uid 550); 11 Oct 2011 03:51:55 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 28132 invoked from network); 11 Oct 2011 03:51:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=JiLYVfimRjBC7RfHUNQ2kOtcBzGjSo6sDaU/PBCOQtmxCQAMcEFIWJcN3r8TnPrBWqmjLHAXed7alr2x4y5JILhZdlDj/iNWKcaLvjYmowWiScetTR/vEN3qGdhOTRBmqVxGBgkcFpwFnO+81ymFcR+RT1gAyU586TXtpjLdMWQ=; h=Date:From:To:Subject:Message-Id:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; In-Reply-To: <20111010164449.GU24939@port70.net> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; i486-pc-linux-gnu) Xref: news.gmane.org gmane.linux.lib.musl.general:501 Archived-At: On Mon, 10 Oct 2011 18:44:49 +0200 Szabolcs Nagy wrote: > while we are fixing c++ compatibility > some headers with function prototypes > do not have extern "C" block for c++ I'm certainly not saying that this is the right way to handle it, but this is what GNU libc uses __BEGIN_DECLS & __END_DECLS for (in sys/cdefs.h). -- Isaac Dunham