public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Add __BEGIN_DECLS and __END_DECLS for C++
@ 2017-05-11 14:19 H.J. Lu
  2017-05-11 14:29 ` Zack Weinberg
  0 siblings, 1 reply; 11+ messages in thread
From: H.J. Lu @ 2017-05-11 14:19 UTC (permalink / raw)
  To: GNU C Library

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 <stdbool.h>
 #include <stddef.h>
 
+__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 */
-- 
2.9.3

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-05-19 20:42 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-11 14:19 [PATCH] Add __BEGIN_DECLS and __END_DECLS for C++ H.J. Lu
2017-05-11 14:29 ` Zack Weinberg
2017-05-11 14:39   ` H.J. Lu
2017-05-11 14:43     ` Zack Weinberg
2017-05-11 14:45       ` H.J. Lu
2017-05-11 14:57         ` Zack Weinberg
2017-05-11 15:10           ` H.J. Lu
2017-05-11 15:20             ` Zack Weinberg
2017-05-11 15:33               ` H.J. Lu
2017-05-19 17:57                 ` H.J. Lu
2017-05-19 20:42                   ` Zack Weinberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).