From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 836671F462 for ; Tue, 28 May 2019 21:07:05 +0000 (UTC) Received: from localhost ([127.0.0.1]:42747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVjJD-0006Zj-Bm for normalperson@yhbt.net; Tue, 28 May 2019 17:06:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60180) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVjJ9-0006Zb-F7 for bug-gnulib@gnu.org; Tue, 28 May 2019 17:06:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVjJ8-0000DL-FQ for bug-gnulib@gnu.org; Tue, 28 May 2019 17:06:55 -0400 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::6]:34067) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVjJ7-0000BF-G2; Tue, 28 May 2019 17:06:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1559077609; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=T+OqkI6NXsrqCRpkiTlSKvZxFgob+kIbjjNrk51NW5Y=; b=OnX8BQZ2olJs4t6H0dulty1anncehwOTeSTasKF1DsP2dpid2uALdYj8aHRzU8VVxo oyQDsHzxtnbO6pWiq2tILJkIEG0+Bsku/2GuAdHxnQ4pfNOjvB6ByhWLj86TZ3EGRbi5 /RAdB0tEgqaPf1biiemqqoo9Bm61L+QRDRw1Ay/RyiB3eM36JxM94wxy387B1FyAbyLh sAZdeGMhuniMEE3IPnr58xd3WEDnKZoIIeWzFWDogc/53eCGYGidp5EfOPMkPRdgIg+D FBGDH6o6UPNJ+hsTO+s6c7ut5Yvs4uOkFhjdB7EmyfMjxt/1EhQ03y/MxkQFIRDDrf6l Jufg== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOGaf0y5RW" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 44.18 DYNA|AUTH) with ESMTPSA id m03afev4SL6kDpZ (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Tue, 28 May 2019 23:06:46 +0200 (CEST) From: Bruno Haible To: bug-gnulib@gnu.org Subject: Re: [PATCH] Make it possible to call canonicalize_filename_mode from C++. Date: Tue, 28 May 2019 23:06:45 +0200 Message-ID: <1879324.D8i1emut2y@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-145-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <20190528122116.2220-1-jay@gnu.org> References: <20190528122116.2220-1-jay@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:238:20a:202:5300::6 X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: James Youngman Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" Hi James, > diff --git a/lib/canonicalize.h b/lib/canonicalize.h > index 2ffa1f681..d21b5b203 100644 > --- a/lib/canonicalize.h > +++ b/lib/canonicalize.h > @@ -21,6 +21,10 @@ > > #define CAN_MODE_MASK (CAN_EXISTING | CAN_ALL_BUT_LAST | CAN_MISSING) > > +# ifdef __cplusplus > +extern "C" { > +# endif > + > enum canonicalize_mode_t > { > /* All components must exist. */ > ... Thanks, applied (with no space after '#', to keep the indentation consistent in the file). Likewise for the second patch. Bruno