[PATCH] Add __BEGIN_DECLS and __END_DECLS for C++
H.J. Lu
hongjiu.lu@intel.com
Thu May 11 14:19:00 GMT 2017
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
More information about the Libc-alpha
mailing list