diff options
Diffstat (limited to 'include/stdio.h')
| -rw-r--r-- | include/stdio.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/stdio.h b/include/stdio.h index ab9b00f..0c32728 100644 --- a/include/stdio.h +++ b/include/stdio.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 | char * | 11 | char * |
| @@ -108,8 +106,6 @@ __fortify_vsnprintf(char *s, size_t n, const char *fmt, __builtin_va_list ap) | |||
| 108 | r; \ | 106 | r; \ |
| 109 | }) | 107 | }) |
| 110 | 108 | ||
| 111 | #ifdef __cplusplus | ||
| 112 | } | ||
| 113 | #endif | 109 | #endif |
| 114 | 110 | ||
| 115 | #endif | 111 | #endif |
