eal: add macro to mark macros as deprecated
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 15 Oct 2020 22:57:18 +0000 (15:57 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 20 Oct 2020 09:42:29 +0000 (11:42 +0200)
commit03031925811e0341618957521a1542fa9eb2e497
tree91360437f475879d0b66338c58724aac806bc4b6
parent57c789fd94d97281a55b8fe741c33d278bd52e13
eal: add macro to mark macros as deprecated

Add a macro that causes GCC and CLANG to emit a warning when
a deprecated macro is used.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_eal/include/rte_common.h