diff options
| author | jvoisin | 2025-12-30 11:33:08 +0100 |
|---|---|---|
| committer | Julien Voisin | 2025-12-30 11:34:48 +0100 |
| commit | eec2b5e06bdb01d20f1a1125074a379e0b154d80 (patch) | |
| tree | faf6d8ef8a04967044c31ac2c7b600ef8ce9a7ec /include/string.h | |
| parent | c4c5fd41124f38a5afee02b8f604ddc21d3b199a (diff) | |
Change __warning_if into __fortify_warning_if to fix potential conflicts3.0.1
Diffstat (limited to 'include/string.h')
| -rw-r--r-- | include/string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/string.h b/include/string.h index 8f0167f..7987d17 100644 --- a/include/string.h +++ b/include/string.h | |||
| @@ -71,7 +71,7 @@ _FORTIFY_FN(memmove) void *memmove(void * _FORTIFY_POS0 __d, | |||
| 71 | } | 71 | } |
| 72 | 72 | ||
| 73 | __fortify_access(write_only, 1, 3) | 73 | __fortify_access(write_only, 1, 3) |
| 74 | __warning_if(__c != 0 && __n == 0, "'memset' will set `0` bytes; did you invert the arguments?") | 74 | __fortify_warning_if(__c != 0 && __n == 0, "'memset' will set `0` bytes; did you invert the arguments?") |
| 75 | _FORTIFY_FN(memset) void *memset(void * _FORTIFY_POS0 __d, int __c, size_t __n) | 75 | _FORTIFY_FN(memset) void *memset(void * _FORTIFY_POS0 __d, int __c, size_t __n) |
| 76 | { | 76 | { |
| 77 | size_t __b = __bos(__d, 0); | 77 | size_t __b = __bos(__d, 0); |
