bits/poll2.h needs __BEGIN/__END_DECLS
authorUlrich Drepper <drepper@gmail.com>
Mon, 9 Jan 2012 02:57:15 +0000 (21:57 -0500)
committerUlrich Drepper <drepper@gmail.com>
Mon, 9 Jan 2012 02:57:15 +0000 (21:57 -0500)
ChangeLog
io/bits/poll2.h

index 8b0f269..2035826 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
 
+       * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
+
        * io/Makefile (headers): Add bits/poll2.h.
 
 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
index 7a9dd8a..182e97b 100644 (file)
@@ -22,6 +22,8 @@
 #endif
 
 
+__BEGIN_DECLS
+
 extern int __REDIRECT (__poll_alias, (struct pollfd *__fds, nfds_t __nfds,
                                      int __timeout), poll);
 extern int __poll_chk (struct pollfd *__fds, nfds_t __nfds, int __timeout,
@@ -76,3 +78,5 @@ ppoll (struct pollfd *__fds, nfds_t __nfds, const struct timespec *__timeout,
   return __ppoll_alias (__fds, __nfds, __timeout, __ss);
 }
 #endif
+
+__END_DECLS