diff options
| author | Eric Haszlakiewicz <erh+git@nimenees.com> | 2020-07-17 03:20:29 +0000 |
|---|---|---|
| committer | Eric Haszlakiewicz <erh+git@nimenees.com> | 2020-07-17 03:20:29 +0000 |
| commit | cb10a13e94c39de47d44231f21831d623c36c8b0 (patch) | |
| tree | 7aca94aa7274c7b89cd3fa07dc0b0c34f22a2140 | |
| parent | 2508109b1881a2910e129b21039ef72e5e34e19d (diff) | |
| download | json-c-cb10a13e94c39de47d44231f21831d623c36c8b0.tar.gz | |
Remove the THIS_FUNCTION_IS_DEPRECATED define, we stopped using it long ago.
| -rw-r--r-- | json_object.h | 10 |
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 |
