summaryrefslogtreecommitdiff
path: root/include/stdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stdio.h')
-rw-r--r--include/stdio.h8
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
9extern "C" {
10#endif
11
8static inline __attribute__ ((always_inline)) 12static inline __attribute__ ((always_inline))
9char * 13char *
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