From d8190703f42782d10fcf4e32c013b8ae7e22c4ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=BE=E5=AD=9F=E5=85=83?= Date: Mon, 28 Oct 2024 07:21:53 +0000 Subject: [PATCH] =?UTF-8?q?update=20frameworks/libhilog/base/hilog=5Fbase.?= =?UTF-8?q?c.=20=E7=A4=BE=E5=8C=BA=E9=97=A8=E7=A6=81=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=81=A2=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 贾孟元 --- frameworks/libhilog/base/hilog_base.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/frameworks/libhilog/base/hilog_base.c b/frameworks/libhilog/base/hilog_base.c index 5a28353..89f8153 100644 --- a/frameworks/libhilog/base/hilog_base.c +++ b/frameworks/libhilog/base/hilog_base.c @@ -25,8 +25,6 @@ #include #include #include -#include -#include #define LOG_LEN 3 #define ERROR_FD 2 @@ -78,9 +76,6 @@ static int SendMessage(HilogMsg *header, const char *tag, uint16_t tagLen, const return ret; } -pid_t gettid(void) { - return (pid_t)syscall(SYS_gettid); -} int HiLogBasePrintArgs( const LogType type, const LogLevel level, const unsigned int domain, const char *tag, const char *fmt, va_list ap) -- Gitee