summaryrefslogtreecommitdiff
path: root/include/poll.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/poll.h')
-rw-r--r--include/poll.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/poll.h b/include/poll.h
index 2f06045..ac79695 100644
--- a/include/poll.h
+++ b/include/poll.h
@@ -5,6 +5,10 @@
5 5
6#if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 6#if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0
7 7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
8static inline __attribute__ ((always_inline)) 12static inline __attribute__ ((always_inline))
9int 13int
10__fortify_poll(struct pollfd *fds, nfds_t nfds, int timeout) 14__fortify_poll(struct pollfd *fds, nfds_t nfds, int timeout)
@@ -38,6 +42,10 @@ __fortify_ppoll(struct pollfd *fds, nfds_t nfds,
38#define ppoll(fds, nfds, timeout, mask) __fortify_ppoll(fds, nfds, timeout, mask) 42#define ppoll(fds, nfds, timeout, mask) __fortify_ppoll(fds, nfds, timeout, mask)
39#endif 43#endif
40 44
45#ifdef __cplusplus
46}
47#endif
48
41#endif 49#endif
42 50
43#endif 51#endif