git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ethdev: mark deprecated statistics with attribute
[dpdk.git]
/
lib
/
librte_eal
/
common
/
include
/
rte_common.h
diff --git
a/lib/librte_eal/common/include/rte_common.h
b/lib/librte_eal/common/include/rte_common.h
index
3121314
..
f8ca6f3
100644
(file)
--- a/
lib/librte_eal/common/include/rte_common.h
+++ b/
lib/librte_eal/common/include/rte_common.h
@@
-69,6
+69,9
@@
typedef uint32_t unaligned_uint32_t;
typedef uint16_t unaligned_uint16_t;
#endif
+/******* Macro to mark functions and fields scheduled for removal *****/
+#define __rte_deprecated __attribute__((__deprecated__))
+
/*********** Macros to eliminate unused variable warnings ********/
/**