* Task seperates two part
1. Add DPL_UNUSED & DPL_UNUSED_PARAM to availability.h
2. Remove unused.h after replace usage
[Issue#] LINUXWRT-1016
[Problem] Common header to support various macro for availability property is added
[Cause] N/A
[Solution] First part commit
- Add DPL_UNUSED and DPL_UNUSED_PARAM to availability.h
- All macro usage will replace from unused.h to availability.h
[Verification] Build all wrt packages
[SCMRequest] N/A
Change-Id: I329e317e9733aaf52ab9b16473ea88ede4fdc59d
#define DPL_DEPRECATED __attribute__((deprecated))
#define DPL_DEPRECATED_WITH_MESSAGE(msg) __attribute__((deprecated(msg)))
+#define DPL_UNUSED __attribute__((unused))
+#define DPL_UNUSED_PARAM(variable) (void)variable
+
#endif // DPL_AVAILABILITY_H
#ifndef DPL_UNUSED_H
#define DPL_UNUSED_H
+#warning using deprecated macros. uses availability.h
#define DPL_UNUSED __attribute__((unused))
#define DPL_UNUSED_PARAM(variable) (void)variable