From patchwork Thu May 11 14:18:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lu, Hongjiu" X-Patchwork-Id: 20396 Received: (qmail 64113 invoked by alias); 11 May 2017 14:19:05 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 64073 invoked by uid 89); 11 May 2017 14:19:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, NO_DNS_FOR_FROM, RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-HELO: mga02.intel.com X-ExtLoop1: 1 Date: Thu, 11 May 2017 07:18:36 -0700 From: "H.J. Lu" To: GNU C Library Subject: [PATCH] Add __BEGIN_DECLS and __END_DECLS for C++ Message-ID: <20170511141836.GB26086@intel.com> Reply-To: "H.J. Lu" MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.8.0 (2017-02-23) Add __BEGIN_DECLS and __END_DECLS to support C++. Any comments? H.J. --- * include/ifunc-impl-list.h: Add __BEGIN_DECLS and __END_DECLS. --- include/ifunc-impl-list.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/ifunc-impl-list.h b/include/ifunc-impl-list.h index 22ca05f..f4be574 100644 --- a/include/ifunc-impl-list.h +++ b/include/ifunc-impl-list.h @@ -22,6 +22,8 @@ #include #include +__BEGIN_DECLS + struct libc_ifunc_impl { /* The name of function to be tested. */ @@ -53,4 +55,6 @@ extern size_t __libc_ifunc_impl_list (const char *name, struct libc_ifunc_impl *array, size_t max); +__END_DECLS + #endif /* ifunc-impl-list.h */