From: Alejandro Colomar Date: Mon, 27 Nov 2023 23:12:28 +0000 (+0100) Subject: lib/defines.h: Remove condition on __STRICT_ANSI__ X-Git-Tag: 4.15.0-rc1~114 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d2fa501ec2d17b8725d0649705844724b123d5c;p=thirdparty%2Fshadow.git lib/defines.h: Remove condition on __STRICT_ANSI__ We require C11 since a few releases ago. It seems I missed this reminder of ANSI C (C89) back then. Signed-off-by: Alejandro Colomar --- diff --git a/lib/defines.h b/lib/defines.h index 66b70b63f..d0eb9dbdc 100644 --- a/lib/defines.h +++ b/lib/defines.h @@ -204,7 +204,7 @@ #endif /* To be used for verified unused parameters */ -#if defined(__GNUC__) && !defined(__STRICT_ANSI__) +#if defined(__GNUC__) # define unused __attribute__((unused)) # define NORETURN __attribute__((__noreturn__)) # define format_attr(type, index, check) __attribute__((format (type, index, check)))