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