mirror of
git://slackware.nl/current.git
synced 2025-01-12 08:03:03 +01:00
23 lines
386 B
Diff
23 lines
386 B
Diff
|
--- ./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;
|