X-Git-Url: https://git.sven.stormbind.net/?a=blobdiff_plain;f=libexfat%2Fcompiler.h;h=88d3d7ceefcee03692177f638c6cd84cfb0d0a7a;hb=1e7534bbaa34e6c2a8c9809dfcf6588112cbdee4;hp=e4f40de90baf3443a20333a2451dd7153875b3c8;hpb=7c1f592481792ea54bfdefd3d881ded0202ccb26;p=sven%2Ffuse-exfat.git diff --git a/libexfat/compiler.h b/libexfat/compiler.h index e4f40de..88d3d7c 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-2018 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