summaryrefslogtreecommitdiffstats
path: root/source/n/yptools/ypbind-mt.gettid.diff
blob: 37496d857eee1b1f8272f6b2656e534328d6b296 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- ./src/log_msg.c.orig	2011-08-31 08:13:22.000000000 -0500
+++ ./src/log_msg.c	2019-08-20 12:44:45.474253136 -0500
@@ -30,19 +30,6 @@
 #include "log_msg.h"
 
 #include <sys/syscall.h>
-#ifdef __NR_gettid
-static pid_t
-gettid (void)
-{
-  return syscall (__NR_gettid);
-}
-#else
-pid_t
-gettid (void)
-{
-    return getpid ();
-}
-#endif
 
 int debug_flag = 0;
 int logfile_flag = 0;