From f535a67d6406c80b4529a8c492ff0e1ed99574f7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 18 Aug 2022 02:49:01 -0400 Subject: Fix duplicate macro definition --- src/zix/common.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src') diff --git a/src/zix/common.h b/src/zix/common.h index 46307b1..bdd845f 100644 --- a/src/zix/common.h +++ b/src/zix/common.h @@ -56,15 +56,6 @@ extern "C" { # define ZIX_LOG_FUNC(fmt, arg1) #endif -// Unused parameter macro to suppresses warnings and make it impossible to use -#if defined(__cplusplus) -# define ZIX_UNUSED(name) -#elif defined(__GNUC__) -# define ZIX_UNUSED(name) name##_unused __attribute__((__unused__)) -#else -# define ZIX_UNUSED(name) name -#endif - typedef enum { ZIX_STATUS_SUCCESS, ZIX_STATUS_ERROR, -- cgit v1.2.1