diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-09-09 21:35:15 +0200 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-09-18 12:28:40 +0200 |
commit | 7107d1db0b3361a3e880d903a45920b64a05e9d6 (patch) | |
tree | 926c71c5d2095f156bda3863fc3f8dbcacbc017f /zfs | |
parent | f4602f7b4e7fdcf4b3a5d2c0c353b50fef98aa7e (diff) |
Refactor __attribute__ usage
Use internal macros for compatibility with non GNUC compilers.
Diffstat (limited to 'zfs')
-rw-r--r-- | zfs/ZfsArcStats.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; |