summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDariusz Michaluk <d.michaluk@samsung.com>2021-02-11 12:41:13 +0100
committerDariusz Michaluk <d.michaluk@samsung.com>2021-02-18 11:41:47 +0100
commitc4908b74d360a44cc06eeb1516fa555823c8e8ac (patch)
treed24d41a47a0f58c2fe166b379530b5aa70ed8744 /src
parentedfdd01fd2f995d403a0a40620b8952fd1c85115 (diff)
downloadlibteec-tizen_6.5.tar.gz
libteec-tizen_6.5.tar.bz2
libteec-tizen_6.5.zip
Change-Id: I4fcda20a840f33ab824ff71f4d82ec4745f892bd
Diffstat (limited to 'src')
-rw-r--r--src/teec/TeecContext.h5
-rw-r--r--src/teec/TeecManager.h4
-rw-r--r--src/teec/TeecSession.h4
-rw-r--r--src/teec/TeecSharedMemory.h4
-rw-r--r--src/teec/TeecTranslations.cc4
-rw-r--r--src/teec/TeecTranslations.h4
6 files changed, 18 insertions, 7 deletions
diff --git a/src/teec/TeecContext.h b/src/teec/TeecContext.h
index 2e175eb..2d5b6c8 100644
--- a/src/teec/TeecContext.h
+++ b/src/teec/TeecContext.h
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2017-2018 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2017-2021 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,8 +27,9 @@
#include <unordered_map>
#include <string>
-#include <tee_client_api.h>
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+#include <tee_client_api.h>
namespace extension {
namespace libteec {
diff --git a/src/teec/TeecManager.h b/src/teec/TeecManager.h
index c7cc768..e9065d6 100644
--- a/src/teec/TeecManager.h
+++ b/src/teec/TeecManager.h
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2017-2021 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,6 +27,8 @@
#include <string>
#include <memory>
#include <mutex>
+
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include <tee_client_api.h>
#include "TeecContext.h"
diff --git a/src/teec/TeecSession.h b/src/teec/TeecSession.h
index 141c427..efde4c6 100644
--- a/src/teec/TeecSession.h
+++ b/src/teec/TeecSession.h
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2017-2021 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,6 +24,8 @@
#include <string>
#include <memory>
+
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include <tee_client_api.h>
namespace extension {
diff --git a/src/teec/TeecSharedMemory.h b/src/teec/TeecSharedMemory.h
index 9af881c..9b8da14 100644
--- a/src/teec/TeecSharedMemory.h
+++ b/src/teec/TeecSharedMemory.h
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2017-2021 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,6 +24,8 @@
#include <memory>
#include <vector>
+
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include <tee_client_api.h>
namespace extension {
diff --git a/src/teec/TeecTranslations.cc b/src/teec/TeecTranslations.cc
index e6316cb..ae4c245 100644
--- a/src/teec/TeecTranslations.cc
+++ b/src/teec/TeecTranslations.cc
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2017-2021 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,6 +23,8 @@
#include "TeecManager.h"
#include "TeecContext.h"
#include "TeecSharedMemory.h"
+
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include <tee_client_api.h>
#define CASE_RESULT_TO_STRING(x) case x: return #x
diff --git a/src/teec/TeecTranslations.h b/src/teec/TeecTranslations.h
index c8b3b3b..12c4390 100644
--- a/src/teec/TeecTranslations.h
+++ b/src/teec/TeecTranslations.h
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2017-2021 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -26,7 +26,9 @@
#include "TeecTempMemoryAllocator.h"
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include <tee_client_api.h>
+
#include <string>
#include <common/picojson.h>