1 /* SPDX-License-Identifier: GPL-2.0 */
2 #define HAVE_GNUC(maj, min) \
4 (__GNUC__ > maj || (__GNUC__ == maj && __GNUC_MINOR__ >= min))
7 # define __malloc __attribute__ ((malloc))
13 * p is the number of the "format string" parameter, and q is
14 * the number of the first variadic parameter
17 # define __printf(p,q) __attribute__ ((format (printf, p, q)))
19 # define __printf(p,q)
22 #define __printf_1_2 __printf(1,2)
25 # define __must_check __attribute__ ((warn_unused_result))
27 # define __must_check /* no warn_unused_result */