X-Git-Url: http://git.sven.stormbind.net/?a=blobdiff_plain;f=libexfat%2Fcompiler.h;h=7eb686c7b240cb09d792db168b992634a985771f;hb=HEAD;hp=e4f40de90baf3443a20333a2451dd7153875b3c8;hpb=caf0764d007be872001c7af85c5fdfa309b10464;p=sven%2Ffuse-exfat.git diff --git a/libexfat/compiler.h b/libexfat/compiler.h index e4f40de..4865828 100644 --- a/libexfat/compiler.h +++ b/libexfat/compiler.h @@ -4,7 +4,7 @@ showstopper. Free exFAT implementation. - Copyright (C) 2010-2017 Andrew Nayenko + Copyright (C) 2010-2023 Andrew Nayenko This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -33,6 +33,7 @@ #define PRINTF __attribute__((format(printf, 1, 2))) #define NORETURN __attribute__((noreturn)) #define PACKED __attribute__((packed)) +#define UNUSED __attribute__((unused)) #if __has_extension(c_static_assert) #define USE_C11_STATIC_ASSERT #endif @@ -42,6 +43,7 @@ #define PRINTF __attribute__((format(printf, 1, 2))) #define NORETURN __attribute__((noreturn)) #define PACKED __attribute__((packed)) +#define UNUSED __attribute__((unused)) #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6) #define USE_C11_STATIC_ASSERT #endif @@ -51,6 +53,7 @@ #define PRINTF #define NORETURN #define PACKED +#define UNUSED #endif