From: Eric Haszlakiewicz Date: Fri, 17 Jul 2020 03:20:29 +0000 (+0000) Subject: Remove the THIS_FUNCTION_IS_DEPRECATED define, we stopped using it long ago. X-Git-Tag: json-c-0.15-20200726~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb10a13e94c39de47d44231f21831d623c36c8b0;p=thirdparty%2Fjson-c.git Remove the THIS_FUNCTION_IS_DEPRECATED define, we stopped using it long ago. --- diff --git a/json_object.h b/json_object.h index 5cb85b01..a54541c8 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