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/stdlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/stdlib.h') diff --git a/include/stdlib.h b/include/stdlib.h index aeed102..0336d56 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -39,7 +39,7 @@ extern "C" { /* FIXME clang */ #if (defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)) && !defined(__clang__) #undef realpath -__warning_if(__p == NULL, "'realpath' called with path set to `NULL`; did you invert the arguments?") +__fortify_warning_if(__p == NULL, "'realpath' called with path set to `NULL`; did you invert the arguments?") _FORTIFY_FN(realpath) char *realpath(const char *__p, char *__r) { #ifndef PATH_MAX -- cgit v1.3