projects
/
platform
/
core
/
system
/
deviced.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdfc7a4
)
shared: Add handling LOG_TAG
74/293674/1
author
Yunhee Seo
<yuni.seo@samsung.com>
Fri, 2 Jun 2023 02:38:14 +0000
(11:38 +0900)
committer
Yunhee Seo
<yuni.seo@samsung.com>
Fri, 2 Jun 2023 02:43:57 +0000
(11:43 +0900)
In the shared/log.h, LOG_TAG can cause warning when the header files are
included with util.h.
Thus, LOG_TAG should be defined only when it is not defined.
Change-Id: If60ffd179aa393cfed67897366f08a9a77317e29
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
src/shared/log.h
patch
|
blob
|
history
diff --git
a/src/shared/log.h
b/src/shared/log.h
index
27681f2
..
5a16f28
100644
(file)
--- a/
src/shared/log.h
+++ b/
src/shared/log.h
@@
-28,7
+28,9
@@
#undef ENABLE_DLOG
#endif
+#ifndef LOG_TAG
#define LOG_TAG "DEVICED"
+#endif
#include "shared/log-macro.h"
#endif