diff options
Diffstat (limited to 'include/string.h')
| -rw-r--r-- | include/string.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/string.h b/include/string.h index 2f513ca..b0979cc 100644 --- a/include/string.h +++ b/include/string.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 | void * | 11 | void * |
| @@ -190,8 +188,6 @@ __fortify_strlcpy(char *dest, const char *src, size_t n) | |||
| 190 | #define strlcpy(dest, src, n) __fortify_strlcpy(dest, src, n) | 188 | #define strlcpy(dest, src, n) __fortify_strlcpy(dest, src, n) |
| 191 | #endif | 189 | #endif |
| 192 | 190 | ||
| 193 | #ifdef __cplusplus | ||
| 194 | } | ||
| 195 | #endif | 191 | #endif |
| 196 | 192 | ||
| 197 | #endif | 193 | #endif |
