X-Git-Url: https://git.sven.stormbind.net/?p=sven%2Ffuse-exfat.git;a=blobdiff_plain;f=libexfat%2Fcompiler.h;fp=libexfat%2Fcompiler.h;h=88d3d7ceefcee03692177f638c6cd84cfb0d0a7a;hp=7eb686c7b240cb09d792db168b992634a985771f;hb=b747352475991e7b96183fa1014937efd3e47187;hpb=5151112c14bb7cdc93bcc66901485d94f2ab0c24 diff --git a/libexfat/compiler.h b/libexfat/compiler.h index 7eb686c..88d3d7c 100644 --- a/libexfat/compiler.h +++ b/libexfat/compiler.h @@ -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