]> granicus.if.org Git - json-c/commitdiff
Remove the THIS_FUNCTION_IS_DEPRECATED define, we stopped using it long ago.
authorEric Haszlakiewicz <erh+git@nimenees.com>
Fri, 17 Jul 2020 03:20:29 +0000 (03:20 +0000)
committerEric Haszlakiewicz <erh+git@nimenees.com>
Fri, 17 Jul 2020 03:20:29 +0000 (03:20 +0000)
json_object.h

index 5cb85b0107bf272190da9dc8d0a0f3737b9f7263..a54541c86f8b042cf9094ec7c0eabce0275c74fd 100644 (file)
 #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