From 2bfa3094cce556bdebfccb7980c6cac9b1aad451 Mon Sep 17 00:00:00 2001 From: gengwenxuan Date: Thu, 29 Jul 2021 02:49:37 +0000 Subject: [PATCH] Signed-off-by: gengwenxuan --- bin/src/bytrace.cpp | 1 + interfaces/innerkits/native/include/bytrace.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/src/bytrace.cpp b/bin/src/bytrace.cpp index cbd0fcc..b5cda18 100755 --- a/bin/src/bytrace.cpp +++ b/bin/src/bytrace.cpp @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include diff --git a/interfaces/innerkits/native/include/bytrace.h b/interfaces/innerkits/native/include/bytrace.h index b2e05a7..48c805a 100755 --- a/interfaces/innerkits/native/include/bytrace.h +++ b/interfaces/innerkits/native/include/bytrace.h @@ -22,7 +22,6 @@ extern "C" { #endif -__BEGIN_DECLS constexpr uint64_t BYTRACE_TAG_NEVER = 0; // This tag is never enabled. constexpr uint64_t BYTRACE_TAG_ALWAYS = (1ULL << 0); // This tag is always enabled. @@ -97,7 +96,6 @@ void MiddleTraceDebug(uint64_t label, const std::string& beforeValue, const std: void CountTrace(uint64_t label, const std::string& name, int64_t count); void CountTraceDebug(uint64_t label, const std::string& name, int64_t count); -__END_DECLS #ifdef __cplusplus } #endif