From eec2b5e06bdb01d20f1a1125074a379e0b154d80 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 30 Dec 2025 11:33:08 +0100 Subject: Change __warning_if into __fortify_warning_if to fix potential conflicts --- include/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/string.h') 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, } __fortify_access(write_only, 1, 3) -__warning_if(__c != 0 && __n == 0, "'memset' will set `0` bytes; did you invert the arguments?") +__fortify_warning_if(__c != 0 && __n == 0, "'memset' will set `0` bytes; did you invert the arguments?") _FORTIFY_FN(memset) void *memset(void * _FORTIFY_POS0 __d, int __c, size_t __n) { size_t __b = __bos(__d, 0); -- cgit v1.3