diff options
| -rw-r--r-- | include/string.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/string.h b/include/string.h index c317b1e..10d071a 100644 --- a/include/string.h +++ b/include/string.h | |||
| @@ -198,7 +198,7 @@ _FORTIFY_FN(stpcpy) char *stpcpy(char * _FORTIFY_POS0 __d, const char *__s) | |||
| 198 | 198 | ||
| 199 | #undef stpncpy | 199 | #undef stpncpy |
| 200 | __fh_access(write_only, 1) | 200 | __fh_access(write_only, 1) |
| 201 | __fh_access(read_only, 2, 3) | 201 | __fh_access(read_only, 2) |
| 202 | #if __has_builtin(__builtin_stpncpy) | 202 | #if __has_builtin(__builtin_stpncpy) |
| 203 | __diagnose_as_builtin(__builtin_stpncpy, 1, 2, 3) | 203 | __diagnose_as_builtin(__builtin_stpncpy, 1, 2, 3) |
| 204 | #endif | 204 | #endif |
| @@ -304,7 +304,7 @@ _FORTIFY_FN(strncat) char *strncat(char * _FORTIFY_POS0 __d, const char *__s, | |||
| 304 | } | 304 | } |
| 305 | 305 | ||
| 306 | __fh_access (write_only, 1) | 306 | __fh_access (write_only, 1) |
| 307 | __fh_access (read_only, 2, 3) | 307 | __fh_access (read_only, 2) |
| 308 | #if __has_builtin(__builtin_strncpy) | 308 | #if __has_builtin(__builtin_strncpy) |
| 309 | __diagnose_as_builtin(__builtin_strncpy, 1, 2, 3) | 309 | __diagnose_as_builtin(__builtin_strncpy, 1, 2, 3) |
| 310 | #endif | 310 | #endif |
