diff options
Diffstat (limited to 'include/sys/select.h')
| -rw-r--r-- | include/sys/select.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sys/select.h b/include/sys/select.h index 9101b51..50bdb6a 100644 --- a/include/sys/select.h +++ b/include/sys/select.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 | ||
| 9 | extern "C" { | ||
| 10 | #endif | ||
| 11 | |||
| 8 | static inline __attribute__ ((always_inline)) | 12 | static inline __attribute__ ((always_inline)) |
| 9 | int | 13 | int |
| 10 | __fortify_FD_CLR(int fd, fd_set *set) | 14 | __fortify_FD_CLR(int fd, fd_set *set) |
| @@ -32,6 +36,10 @@ __fortify_FD_SET(int fd, fd_set *set) | |||
| 32 | #undef FD_SET | 36 | #undef FD_SET |
| 33 | #define FD_SET(fd, set) __fortify_FD_SET(fd, set) | 37 | #define FD_SET(fd, set) __fortify_FD_SET(fd, set) |
| 34 | 38 | ||
| 39 | #ifdef __cplusplus | ||
| 40 | } | ||
| 41 | #endif | ||
| 42 | |||
| 35 | #endif | 43 | #endif |
| 36 | 44 | ||
| 37 | #endif | 45 | #endif |
