summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/nxt_process.c2
-rw-r--r--src/nxt_process.h3
2 files changed, 1 insertions, 4 deletions
diff --git a/src/nxt_process.c b/src/nxt_process.c
index a2980350..fe9349e8 100644
--- a/src/nxt_process.c
+++ b/src/nxt_process.c
@@ -269,7 +269,7 @@ nxt_process_child_fixup(nxt_task_t *task, nxt_process_t *process)
nxt_ppid = nxt_pid;
- nxt_pid = nxt_getpid();
+ nxt_pid = getpid();
process->pid = nxt_pid;
process->isolated_pid = nxt_pid;
diff --git a/src/nxt_process.h b/src/nxt_process.h
index de54e383..16d6110c 100644
--- a/src/nxt_process.h
+++ b/src/nxt_process.h
@@ -13,9 +13,6 @@
#endif
-#define nxt_getpid() \
- getpid()
-
typedef pid_t nxt_pid_t;