From 9a39234015f092c5eb0f461da91689e71bf43943 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 29 Jun 2015 21:16:55 +0300 Subject: Fix code style. --- src/localconsts.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/localconsts.h') diff --git a/src/localconsts.h b/src/localconsts.h index dcd0613b2..58923b609 100644 --- a/src/localconsts.h +++ b/src/localconsts.h @@ -70,13 +70,20 @@ #define A_WARN_UNUSED __attribute__ ((warn_unused_result)) #define DEPRECATED __attribute__ ((deprecated)) #define restrict __restrict__ + +#ifndef ENABLE_CILKPLUS #define A_NONNULL(...) __attribute__((nonnull (__VA_ARGS__))) +#else +#define A_NONNULL(...) +#endif + #else #define A_UNUSED #define A_WARN_UNUSED #define gnu_printf printf #define DEPRECATED #define restrict +#define A_NONNULL(...) #endif #ifdef __clang__ #define gnu_printf printf -- cgit v1.2.3-70-g09d2