From cb10a13e94c39de47d44231f21831d623c36c8b0 Mon Sep 17 00:00:00 2001 From: Eric Haszlakiewicz Date: Fri, 17 Jul 2020 03:20:29 +0000 Subject: [PATCH] Remove the THIS_FUNCTION_IS_DEPRECATED define, we stopped using it long ago. --- json_object.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/json_object.h b/json_object.h index 5cb85b0..a54541c 100644 --- a/json_object.h +++ b/json_object.h @@ -17,16 +17,6 @@ #ifndef _json_object_h_ #define _json_object_h_ -#ifdef __GNUC__ -#define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__((deprecated)) -#elif defined(_MSC_VER) -#define THIS_FUNCTION_IS_DEPRECATED(func) __declspec(deprecated) func -#elif defined(__clang__) -#define THIS_FUNCTION_IS_DEPRECATED(func) func __deprecated -#else -#define THIS_FUNCTION_IS_DEPRECATED(func) func -#endif - #ifdef __GNUC__ #define JSON_C_CONST_FUNCTION(func) func __attribute__((const)) #else -- 2.40.0