diff options
Diffstat (limited to 'include/sys/socket.h')
| -rw-r--r-- | include/sys/socket.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/sys/socket.h b/include/sys/socket.h index fc7381a..02ff2ab 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h | |||
| @@ -5,9 +5,7 @@ | |||
| 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 | 8 | #ifndef __cplusplus |
| 9 | extern "C" { | ||
| 10 | #endif | ||
| 11 | 9 | ||
| 12 | static inline __attribute__ ((always_inline)) | 10 | static inline __attribute__ ((always_inline)) |
| 13 | ssize_t | 11 | ssize_t |
| @@ -64,8 +62,6 @@ __fortify_sendto(int sockfd, const void *buf, size_t n, int flags, | |||
| 64 | #undef sendto | 62 | #undef sendto |
| 65 | #define sendto(sockfd, buf, n, flags, sa, salen) __fortify_sendto(sockfd, buf, n, flags, sa, salen) | 63 | #define sendto(sockfd, buf, n, flags, sa, salen) __fortify_sendto(sockfd, buf, n, flags, sa, salen) |
| 66 | 64 | ||
| 67 | #ifdef __cplusplus | ||
| 68 | } | ||
| 69 | #endif | 65 | #endif |
| 70 | 66 | ||
| 71 | #endif | 67 | #endif |
