From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-4.sys.kth.se (smtp-4.sys.kth.se [130.237.48.193]); by fantadrom.bsd.lv (OpenSMTPD) with ESMTP id e14729a4; for ; Wed, 25 Feb 2015 14:50:45 -0500 (EST) Received: from smtp-4.sys.kth.se (localhost.localdomain [127.0.0.1]) by smtp-4.sys.kth.se (Postfix) with ESMTP id 667D5251C for ; Wed, 25 Feb 2015 20:50:44 +0100 (CET) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-4.sys.kth.se ([127.0.0.1]) by smtp-4.sys.kth.se (smtp-4.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ZlvtlTtuWF8t for ; Wed, 25 Feb 2015 20:50:43 +0100 (CET) X-KTH-Auth: kristaps [90.38.46.58] X-KTH-mail-from: kristaps@bsd.lv X-KTH-rcpt-to: discuss@mdocml.bsd.lv Received: from pc3.home (AToulouse-651-1-231-58.w90-38.abo.wanadoo.fr [90.38.46.58]) by smtp-4.sys.kth.se (Postfix) with ESMTPSA id CCD0B2536 for ; Wed, 25 Feb 2015 20:50:34 +0100 (CET) Message-ID: <54EE2788.8060206@bsd.lv> Date: Wed, 25 Feb 2015 20:50:32 +0100 From: Kristaps Dzonsons User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 To: discuss@mdocml.bsd.lv Subject: Re: texi2mdoc References: <54EB47BE.6000608@bsd.lv> <20150223165627.GA13719@k8> <54EB63EA.4080702@bsd.lv> <20150223181739.GA9706@k8> <54EDE7A2.9020001@bsd.lv> <20150225172330.GA1566@k8> In-Reply-To: <20150225172330.GA1566@k8> Content-Type: multipart/mixed; boundary="------------080306060903020908020904" This is a multi-part message in MIME format. --------------080306060903020908020904 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sviatoslav, The enclosed patch allows me to compile... % make CC=/usr/local/musl/bin/musl-gcc ...with a musl freshly cloned via git. I've already checked it into CVS. Thanks for reporting this! Best, Kristaps --------------080306060903020908020904 Content-Type: text/plain; charset=UTF-8; x-mac-type="0"; x-mac-creator="0"; name="musl.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="musl.patch" Index: extern.h =================================================================== RCS file: /home/cvs/mdocml/texi2mdoc/extern.h,v retrieving revision 1.16 retrieving revision 1.17 diff -u -p -r1.16 -r1.17 --- extern.h 25 Feb 2015 14:49:14 -0000 1.16 +++ extern.h 25 Feb 2015 19:45:59 -0000 1.17 @@ -1,4 +1,4 @@ -/* $Id: extern.h,v 1.16 2015/02/25 14:49:14 kristaps Exp $ */ +/* $Id: extern.h,v 1.17 2015/02/25 19:45:59 kristaps Exp $ */ /* * Copyright (c) 2015 Kristaps Dzonsons * @@ -16,6 +16,21 @@ */ #ifndef EXTERN_H #define EXTERN_H + +#if !defined(__BEGIN_DECLS) +# ifdef __cplusplus +# define __BEGIN_DECLS extern "C" { +# else +# define __BEGIN_DECLS +# endif +#endif +#if !defined(__END_DECLS) +# ifdef __cplusplus +# define __END_DECLS } +# else +# define __END_DECLS +# endif +#endif /* * This defines each one of the Texinfo commands that we understand. --------------080306060903020908020904-- -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv