Change-Id: I2ded9109ae8b68c8879f649f0abf86eb4c0062d8
Signed-off-by: Radoslaw Bartosiak <r.bartosiak@samsung.com>
#include <functional>
#define SECURITY_MANAGER_API __attribute__((visibility("default")))
-#define SECURITY_MANAGER_UNUSED __attribute__((unused))
namespace SecurityManager {
* @brief This file is the implementation file of abstract log provider
*/
#include <stddef.h>
+#include <dpl/availability.h>
#include <dpl/log/abstract_log_provider.h>
#include <cstring>
-#define UNUSED __attribute__((unused))
-
namespace SecurityManager {
namespace Log {
-void AbstractLogProvider::SetTag(const char *tag UNUSED) {}
+void AbstractLogProvider::SetTag(const char *tag SECURITY_MANAGER_UNUSED) {}
const char *AbstractLogProvider::LocateSourceFileName(const char *filename)
{
#include <sstream>
#include <dlog.h>
-#define UNUSED __attribute__((unused))
-
namespace SecurityManager {
namespace Log {
std::string DLOGLogProvider::FormatMessage(const char *message,
#include <sstream>
#include <systemd/sd-journal.h>
-#define UNUSED __attribute__((unused))
-
namespace SecurityManager {
namespace Log {
std::string SdJournalProvider::FormatMessage(const char *message,