From fdca119565bb551ed327d7440cc1cc29264d6254 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 8 Sep 2021 20:38:10 +0200 Subject: Suppress warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- common.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'common.h') diff --git a/common.h b/common.h index e23ebb7..7fb6784 100644 --- a/common.h +++ b/common.h @@ -21,6 +21,12 @@ # define FALL_THROUGH #endif +#if defined(__GNUC__) +# define PURE __attribute__((pure)) +#else +# define PURE +#endif + #define UNICODE_MINUS "−" -- cgit v1.2.3-70-g09d2