diff options
| -rw-r--r-- | include/poll.h | 2 | ||||
| -rw-r--r-- | include/stdio.h | 2 | ||||
| -rw-r--r-- | include/stdlib.h | 4 | ||||
| -rw-r--r-- | include/string.h | 2 | ||||
| -rw-r--r-- | include/sys/select.h | 2 | ||||
| -rw-r--r-- | include/sys/socket.h | 2 | ||||
| -rw-r--r-- | include/unistd.h | 2 | ||||
| -rw-r--r-- | include/wchar.h | 8 |
8 files changed, 24 insertions, 0 deletions
diff --git a/include/poll.h b/include/poll.h index 7b42866..24691f1 100644 --- a/include/poll.h +++ b/include/poll.h | |||
| @@ -16,7 +16,9 @@ | |||
| 16 | #ifndef _FORTIFY_POLL_H | 16 | #ifndef _FORTIFY_POLL_H |
| 17 | #define _FORTIFY_POLL_H | 17 | #define _FORTIFY_POLL_H |
| 18 | 18 | ||
| 19 | #ifndef __cplusplus | ||
| 19 | __extension__ | 20 | __extension__ |
| 21 | #endif | ||
| 20 | #include_next <poll.h> | 22 | #include_next <poll.h> |
| 21 | 23 | ||
| 22 | #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 | 24 | #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 |
diff --git a/include/stdio.h b/include/stdio.h index b67f9ce..a965184 100644 --- a/include/stdio.h +++ b/include/stdio.h | |||
| @@ -16,7 +16,9 @@ | |||
| 16 | #ifndef _FORTIFY_STDIO_H | 16 | #ifndef _FORTIFY_STDIO_H |
| 17 | #define _FORTIFY_STDIO_H | 17 | #define _FORTIFY_STDIO_H |
| 18 | 18 | ||
| 19 | #ifndef __cplusplus | ||
| 19 | __extension__ | 20 | __extension__ |
| 21 | #endif | ||
| 20 | #include_next <stdio.h> | 22 | #include_next <stdio.h> |
| 21 | 23 | ||
| 22 | #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 | 24 | #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 |
diff --git a/include/stdlib.h b/include/stdlib.h index 7ff5746..ef70995 100644 --- a/include/stdlib.h +++ b/include/stdlib.h | |||
| @@ -16,12 +16,16 @@ | |||
| 16 | #ifndef _FORTIFY_STDLIB_H | 16 | #ifndef _FORTIFY_STDLIB_H |
| 17 | #define _FORTIFY_STDLIB_H | 17 | #define _FORTIFY_STDLIB_H |
| 18 | 18 | ||
| 19 | #ifndef __cplusplus | ||
| 19 | __extension__ | 20 | __extension__ |
| 21 | #endif | ||
| 20 | #include_next <stdlib.h> | 22 | #include_next <stdlib.h> |
| 21 | 23 | ||
| 22 | #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 | 24 | #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 |
| 23 | #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) | 25 | #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) |
| 26 | #ifndef __cplusplus | ||
| 24 | __extension__ | 27 | __extension__ |
| 28 | #endif | ||
| 25 | #include_next <limits.h> | 29 | #include_next <limits.h> |
| 26 | #endif | 30 | #endif |
| 27 | 31 | ||
diff --git a/include/string.h b/include/string.h index ff237b0..43c7485 100644 --- a/include/string.h +++ b/include/string.h | |||
| @@ -16,7 +16,9 @@ | |||
| 16 | #ifndef _FORTIFY_STRING_H | 16 | #ifndef _FORTIFY_STRING_H |
| 17 | #define _FORTIFY_STRING_H | 17 | #define _FORTIFY_STRING_H |
| 18 | 18 | ||
| 19 | #ifndef __cplusplus | ||
| 19 | __extension__ | 20 | __extension__ |
| 21 | #endif | ||
| 20 | #include_next <string.h> | 22 | #include_next <string.h> |
| 21 | 23 | ||
| 22 | #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 | 24 | #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 |
diff --git a/include/sys/select.h b/include/sys/select.h index e4e398f..bcee8be 100644 --- a/include/sys/select.h +++ b/include/sys/select.h | |||
| @@ -16,7 +16,9 @@ | |||
| 16 | #ifndef _FORTIFY_SYS_SELECT_H | 16 | #ifndef _FORTIFY_SYS_SELECT_H |
| 17 | #define _FORTIFY_SYS_SELECT_H | 17 | #define _FORTIFY_SYS_SELECT_H |
| 18 | 18 | ||
| 19 | #ifndef __cplusplus | ||
| 19 | __extension__ | 20 | __extension__ |
| 21 | #endif | ||
| 20 | #include_next <sys/select.h> | 22 | #include_next <sys/select.h> |
| 21 | 23 | ||
| 22 | #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 | 24 | #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 |
diff --git a/include/sys/socket.h b/include/sys/socket.h index 7d3f023..ad6ab2d 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h | |||
| @@ -16,7 +16,9 @@ | |||
| 16 | #ifndef _FORTIFY_SYS_SOCKET_H | 16 | #ifndef _FORTIFY_SYS_SOCKET_H |
| 17 | #define _FORTIFY_SYS_SOCKET_H | 17 | #define _FORTIFY_SYS_SOCKET_H |
| 18 | 18 | ||
| 19 | #ifndef __cplusplus | ||
| 19 | __extension__ | 20 | __extension__ |
| 21 | #endif | ||
| 20 | #include_next <sys/socket.h> | 22 | #include_next <sys/socket.h> |
| 21 | 23 | ||
| 22 | #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 | 24 | #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 |
diff --git a/include/unistd.h b/include/unistd.h index d3ab246..71dda84 100644 --- a/include/unistd.h +++ b/include/unistd.h | |||
| @@ -16,7 +16,9 @@ | |||
| 16 | #ifndef _FORTIFY_UNISTD_H | 16 | #ifndef _FORTIFY_UNISTD_H |
| 17 | #define _FORTIFY_UNISTD_H | 17 | #define _FORTIFY_UNISTD_H |
| 18 | 18 | ||
| 19 | #ifndef __cplusplus | ||
| 19 | __extension__ | 20 | __extension__ |
| 21 | #endif | ||
| 20 | #include_next <unistd.h> | 22 | #include_next <unistd.h> |
| 21 | 23 | ||
| 22 | #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 | 24 | #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 |
diff --git a/include/wchar.h b/include/wchar.h index 7394598..3cb6f92 100644 --- a/include/wchar.h +++ b/include/wchar.h | |||
| @@ -16,13 +16,21 @@ | |||
| 16 | #ifndef _FORTIFY_WCHAR_H | 16 | #ifndef _FORTIFY_WCHAR_H |
| 17 | #define _FORTIFY_WCHAR_H | 17 | #define _FORTIFY_WCHAR_H |
| 18 | 18 | ||
| 19 | #ifndef __cplusplus | ||
| 19 | __extension__ | 20 | __extension__ |
| 21 | #endif | ||
| 20 | #include_next <limits.h> | 22 | #include_next <limits.h> |
| 23 | #ifndef __cplusplus | ||
| 21 | __extension__ | 24 | __extension__ |
| 25 | #endif | ||
| 22 | #include_next <stdlib.h> | 26 | #include_next <stdlib.h> |
| 27 | #ifndef __cplusplus | ||
| 23 | __extension__ | 28 | __extension__ |
| 29 | #endif | ||
| 24 | #include_next <string.h> | 30 | #include_next <string.h> |
| 31 | #ifndef __cplusplus | ||
| 25 | __extension__ | 32 | __extension__ |
| 33 | #endif | ||
| 26 | #include_next <wchar.h> | 34 | #include_next <wchar.h> |
| 27 | 35 | ||
| 28 | #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 | 36 | #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 |
