summaryrefslogtreecommitdiff
path: root/include/string.h
diff options
context:
space:
mode:
authorjvoisin2025-12-30 11:33:08 +0100
committerJulien Voisin2025-12-30 11:34:48 +0100
commiteec2b5e06bdb01d20f1a1125074a379e0b154d80 (patch)
treefaf6d8ef8a04967044c31ac2c7b600ef8ce9a7ec /include/string.h
parentc4c5fd41124f38a5afee02b8f604ddc21d3b199a (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.h2
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);