aboutsummaryrefslogtreecommitdiffstats
path: root/ports
diff options
context:
space:
mode:
Diffstat (limited to 'ports')
-rw-r--r--ports/linux/oldclone/guts/clone.c2
-rw-r--r--ports/linux/oldclone/pseudo_wrappers.c3
2 files changed, 1 insertions, 4 deletions
diff --git a/ports/linux/oldclone/guts/clone.c b/ports/linux/oldclone/guts/clone.c
index 5240bb3..c6771e5 100644
--- a/ports/linux/oldclone/guts/clone.c
+++ b/ports/linux/oldclone/guts/clone.c
@@ -19,7 +19,7 @@
myargs->arg = arg;
/* call the real syscall */
- rc = (*real_clone)(wrap_clone_child, child_stack, flags, myargs, pid);
+ rc = (*real_clone)(wrap_clone_child, child_stack, flags, myargs);
/* If we're not sharing memory, we need to free myargs in the parent */
if (!(flags & CLONE_VM))
diff --git a/ports/linux/oldclone/pseudo_wrappers.c b/ports/linux/oldclone/pseudo_wrappers.c
index c0ce5dd..d6ea41e 100644
--- a/ports/linux/oldclone/pseudo_wrappers.c
+++ b/ports/linux/oldclone/pseudo_wrappers.c
@@ -35,9 +35,6 @@ int wrap_clone_child(void *args) {
int
clone(int (*fn)(void *), void *child_stack, int flags, void *arg) {
sigset_t saved;
- pid_t *pid;
- struct user_desc *tls;
- pid_t *ctid;
int rc = -1;