diff options
Diffstat (limited to 'include/wchar.h')
| -rw-r--r-- | include/wchar.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/wchar.h b/include/wchar.h index 8a72e35..9180603 100644 --- a/include/wchar.h +++ b/include/wchar.h | |||
| @@ -6,9 +6,7 @@ | |||
| 6 | 6 | ||
| 7 | #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 | 7 | #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 |
| 8 | 8 | ||
| 9 | #ifdef __cplusplus | 9 | #ifndef __cplusplus |
| 10 | extern "C" { | ||
| 11 | #endif | ||
| 12 | 10 | ||
| 13 | static inline __attribute__ ((always_inline)) | 11 | static inline __attribute__ ((always_inline)) |
| 14 | wchar_t * | 12 | wchar_t * |
| @@ -253,8 +251,6 @@ __fortify_wmemset(wchar_t *s, wchar_t c, size_t n) | |||
| 253 | #undef wmemset | 251 | #undef wmemset |
| 254 | #define wmemset(s, c, n) __fortify_wmemset(s, c, n) | 252 | #define wmemset(s, c, n) __fortify_wmemset(s, c, n) |
| 255 | 253 | ||
| 256 | #ifdef __cplusplus | ||
| 257 | } | ||
| 258 | #endif | 254 | #endif |
| 259 | 255 | ||
| 260 | #endif | 256 | #endif |
