From 7107d1db0b3361a3e880d903a45920b64a05e9d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Wed, 9 Sep 2020 21:35:15 +0200 Subject: Refactor __attribute__ usage Use internal macros for compatibility with non GNUC compilers. --- zfs/ZfsArcStats.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'zfs') diff --git a/zfs/ZfsArcStats.c b/zfs/ZfsArcStats.c index bfed07d3..6c02c2c1 100644 --- a/zfs/ZfsArcStats.c +++ b/zfs/ZfsArcStats.c @@ -21,4 +21,6 @@ typedef struct ZfsArcStats_ { } ZfsArcStats; }*/ -static int make_iso_compilers_happy __attribute__((unused)); +#include "Macros.h" + +static int make_iso_compilers_happy ATTR_UNUSED; -- cgit v1.2.3