]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
lib/defines.h: Remove condition on __STRICT_ANSI__
authorAlejandro Colomar <alx@kernel.org>
Mon, 27 Nov 2023 23:12:28 +0000 (00:12 +0100)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Tue, 28 Nov 2023 16:00:46 +0000 (17:00 +0100)
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 <alx@kernel.org>
lib/defines.h

index 66b70b63febfd6090158f4ca7d421cc8cdf5f45e..d0eb9dbdcd640dce98596da8a419cacb06c4f7e4 100644 (file)
 #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)))