diff options
Diffstat (limited to 'include/stdlib.h')
| -rw-r--r-- | include/stdlib.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 312555c..4422f5e 100644 --- a/include/stdlib.h +++ b/include/stdlib.h | |||
| @@ -9,9 +9,7 @@ | |||
| 9 | 9 | ||
| 10 | #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 | 10 | #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 |
| 11 | 11 | ||
| 12 | #ifdef __cplusplus | 12 | #ifndef __cplusplus |
| 13 | extern "C" { | ||
| 14 | #endif | ||
| 15 | 13 | ||
| 16 | #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) | 14 | #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) |
| 17 | static inline __attribute__ ((always_inline)) | 15 | static inline __attribute__ ((always_inline)) |
| @@ -36,8 +34,6 @@ __fortify_realpath(const char *path, char *resolved) | |||
| 36 | #define realpath(path, resolved) __fortify_realpath(path, resolved) | 34 | #define realpath(path, resolved) __fortify_realpath(path, resolved) |
| 37 | #endif | 35 | #endif |
| 38 | 36 | ||
| 39 | #ifdef __cplusplus | ||
| 40 | } | ||
| 41 | #endif | 37 | #endif |
| 42 | 38 | ||
| 43 | #endif | 39 | #endif |
