X-Git-Url: https://git.sven.stormbind.net/?p=sven%2Ffuse-exfat.git;a=blobdiff_plain;f=libexfat%2Fcompiler.h;h=88d3d7ceefcee03692177f638c6cd84cfb0d0a7a;hp=7eb686c7b240cb09d792db168b992634a985771f;hb=1e7534bbaa34e6c2a8c9809dfcf6588112cbdee4;hpb=65b0f9fc39c546369f4f0f43f36891f7709b891a 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