Skip to content

Commit cb10a13

Browse files
committed
Remove the THIS_FUNCTION_IS_DEPRECATED define, we stopped using it long ago.
1 parent 2508109 commit cb10a13

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

json_object.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,6 @@
1717
#ifndef _json_object_h_
1818
#define _json_object_h_
1919

20-
#ifdef __GNUC__
21-
#define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__((deprecated))
22-
#elif defined(_MSC_VER)
23-
#define THIS_FUNCTION_IS_DEPRECATED(func) __declspec(deprecated) func
24-
#elif defined(__clang__)
25-
#define THIS_FUNCTION_IS_DEPRECATED(func) func __deprecated
26-
#else
27-
#define THIS_FUNCTION_IS_DEPRECATED(func) func
28-
#endif
29-
3020
#ifdef __GNUC__
3121
#define JSON_C_CONST_FUNCTION(func) func __attribute__((const))
3222
#else

0 commit comments

Comments
 (0)