summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Haszlakiewicz <erh+git@nimenees.com>2020-07-17 03:20:29 +0000
committerEric Haszlakiewicz <erh+git@nimenees.com>2020-07-17 03:20:29 +0000
commitcb10a13e94c39de47d44231f21831d623c36c8b0 (patch)
tree7aca94aa7274c7b89cd3fa07dc0b0c34f22a2140
parent2508109b1881a2910e129b21039ef72e5e34e19d (diff)
downloadjson-c-cb10a13e94c39de47d44231f21831d623c36c8b0.tar.gz
Remove the THIS_FUNCTION_IS_DEPRECATED define, we stopped using it long ago.
-rw-r--r--json_object.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/json_object.h b/json_object.h
index 5cb85b0..a54541c 100644
--- a/json_object.h
+++ b/json_object.h
@@ -18,16 +18,6 @@
#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
#define JSON_C_CONST_FUNCTION(func) func