26 lines
767 B
Diff
26 lines
767 B
Diff
|
From ec4ea511a15aef0de9760f3aad265faf4bf65cfa Mon Sep 17 00:00:00 2001
|
||
|
From: Sergey Avseyev <sergey.avseyev@gmail.com>
|
||
|
Date: Fri, 17 May 2019 10:53:34 +0300
|
||
|
Subject: [PATCH 4/4] use gettid from glibc
|
||
|
|
||
|
---
|
||
|
src/core/lib/gpr/log_linux.cc | 2 --
|
||
|
1 file changed, 2 deletions(-)
|
||
|
|
||
|
diff --git a/src/core/lib/gpr/log_linux.cc b/src/core/lib/gpr/log_linux.cc
|
||
|
index 561276f0c2..2656492d43 100644
|
||
|
--- a/src/core/lib/gpr/log_linux.cc
|
||
|
+++ b/src/core/lib/gpr/log_linux.cc
|
||
|
@@ -40,8 +40,6 @@
|
||
|
#include <time.h>
|
||
|
#include <unistd.h>
|
||
|
|
||
|
-static long gettid(void) { return syscall(__NR_gettid); }
|
||
|
-
|
||
|
void gpr_log(const char* file, int line, gpr_log_severity severity,
|
||
|
const char* format, ...) {
|
||
|
/* Avoid message construction if gpr_log_message won't log */
|
||
|
--
|
||
|
2.21.0
|
||
|
|