[RFC PATCH 02/15] [prepare] Remove code commenting
Ákos Uzonyi
uzonyi.akos at gmail.com
Mon Jun 1 11:44:31 UTC 2020
---
getpid.c | 4 ++--
pidns.c | 2 --
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/getpid.c b/getpid.c
index 2afaa997..43827cbe 100644
--- a/getpid.c
+++ b/getpid.c
@@ -1,4 +1,4 @@
-/*#include "defs.h"
+#include "defs.h"
SYS_FUNC(getpid)
{
@@ -27,4 +27,4 @@ SYS_FUNC(getsid)
printpid(tcp, tcp->u_arg[0], PT_TGID);
return RVAL_DECODED | RVAL_SID;
-}*/
+}
diff --git a/pidns.c b/pidns.c
index cd5dbbb2..b32af233 100644
--- a/pidns.c
+++ b/pidns.c
@@ -1,4 +1,3 @@
-#if 0
#include "defs.h"
@@ -599,4 +598,3 @@ printpid(struct tcb *tcp, int pid, enum pid_type type)
tprintf_comment("%d in strace's PID NS", strace_pid);
}
}
-#endif
--
2.26.2
More information about the Strace-devel
mailing list