summaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_emul.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/linux/linux_emul.c')
-rw-r--r--sys/compat/linux/linux_emul.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/compat/linux/linux_emul.c b/sys/compat/linux/linux_emul.c
index ce82bd75a34ee..3cc24ce0c2bb5 100644
--- a/sys/compat/linux/linux_emul.c
+++ b/sys/compat/linux/linux_emul.c
@@ -140,7 +140,7 @@ linux_proc_init(struct thread *td, struct thread *newtd, int flags)
}
-void
+void
linux_proc_exit(void *arg __unused, struct proc *p)
{
struct linux_pemuldata *pem;
@@ -155,7 +155,7 @@ linux_proc_exit(void *arg __unused, struct proc *p)
pem = pem_find(p);
if (pem == NULL)
- return;
+ return;
(p->p_sysent->sv_thread_detach)(td);
p->p_emuldata = NULL;
@@ -170,7 +170,7 @@ linux_proc_exit(void *arg __unused, struct proc *p)
free(pem, M_LINUX);
}
-int
+int
linux_common_execve(struct thread *td, struct image_args *eargs)
{
struct linux_pemuldata *pem;
@@ -218,7 +218,7 @@ linux_common_execve(struct thread *td, struct image_args *eargs)
return (EJUSTRETURN);
}
-void
+void
linux_proc_exec(void *arg __unused, struct proc *p, struct image_params *imgp)
{
struct thread *td = curthread;