summaryrefslogtreecommitdiffstats
path: root/compat/waitpid.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-25 12:11:56 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-25 12:11:56 (GMT)
commit97d82cb4b15f18701d239609308aa41c3b89d75c (patch)
treee97d68a75b314720abdf5b68b7a885daa38097b8 /compat/waitpid.c
parent56d2c7e23c1acd887d31a182324a9861cb6e68dd (diff)
downloadtcl-97d82cb4b15f18701d239609308aa41c3b89d75c.zip
tcl-97d82cb4b15f18701d239609308aa41c3b89d75c.tar.gz
tcl-97d82cb4b15f18701d239609308aa41c3b89d75c.tar.bz2
Clean-up compat functions, not using "register" any more, and fix some signatures (constify) matching nowadays standards. All backported from core-8-branch with modifications.
Diffstat (limited to 'compat/waitpid.c')
-rw-r--r--compat/waitpid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/waitpid.c b/compat/waitpid.c
index 8f65799..6f43934 100644
--- a/compat/waitpid.c
+++ b/compat/waitpid.c
@@ -1,4 +1,4 @@
-/*
+/*
* waitpid.c --
*
* This procedure emulates the POSIX waitpid kernel call on BSD systems
@@ -70,7 +70,7 @@ waitpid(
int options) /* OR'ed combination of WNOHANG and
* WUNTRACED. */
{
- register WaitInfo *waitPtr, *prevPtr;
+ WaitInfo *waitPtr, *prevPtr;
pid_t result;
WAIT_STATUS_TYPE status;