diff options
| -rw-r--r-- | include/stdio.h | 3 | ||||
| -rw-r--r-- | include/strings.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/stdio.h b/include/stdio.h index c358825..07efc67 100644 --- a/include/stdio.h +++ b/include/stdio.h | |||
| @@ -6,7 +6,8 @@ | |||
| 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 | static inline __attribute__ ((always_inline)) | 8 | static inline __attribute__ ((always_inline)) |
| 9 | char *__fortify_fgets(char *s, int n, FILE *fp) | 9 | char * |
| 10 | __fortify_fgets(char *s, int n, FILE *fp) | ||
| 10 | { | 11 | { |
| 11 | size_t bos = __builtin_object_size(s, 0); | 12 | size_t bos = __builtin_object_size(s, 0); |
| 12 | 13 | ||
diff --git a/include/strings.h b/include/strings.h index db08cc9..0b6e44c 100644 --- a/include/strings.h +++ b/include/strings.h | |||
| @@ -10,7 +10,8 @@ | |||
| 10 | || (defined(_XOPEN_SOURCE) && _XOPEN_SOURCE+0 < 700) | 10 | || (defined(_XOPEN_SOURCE) && _XOPEN_SOURCE+0 < 700) |
| 11 | 11 | ||
| 12 | static inline __attribute__ ((always_inline)) | 12 | static inline __attribute__ ((always_inline)) |
| 13 | void __fortify_bcopy(const void *__restrict src, void *__restrict dest, size_t n) | 13 | void |
| 14 | __fortify_bcopy(const void *__restrict src, void *__restrict dest, size_t n) | ||
| 14 | { | 15 | { |
| 15 | size_t bos = __builtin_object_size(dest, 0); | 16 | size_t bos = __builtin_object_size(dest, 0); |
| 16 | 17 | ||
