diff options
| author | christos <christos@NetBSD.org> | 2006-11-16 01:32:37 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2006-11-16 01:32:37 +0000 |
| commit | 168cd830d22e1f4a4c2bde1105f9f94d40fb870d (patch) | |
| tree | f82ce44db748b3513a12da35feca2a8d352de90f /sys/compat/linux/common/linux_misc.c | |
| parent | c72ed40f2540010a7b00337d0da9266cc2092eb6 (diff) | |
__unused removal on arguments; approved by core.
Diffstat (limited to 'sys/compat/linux/common/linux_misc.c')
| -rw-r--r-- | sys/compat/linux/common/linux_misc.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/compat/linux/common/linux_misc.c b/sys/compat/linux/common/linux_misc.c index 28c5c2f53df..a2ed00cffed 100644 --- a/sys/compat/linux/common/linux_misc.c +++ b/sys/compat/linux/common/linux_misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_misc.c,v 1.164 2006/11/14 13:34:29 elad Exp $ */ +/* $NetBSD: linux_misc.c,v 1.165 2006/11/16 01:32:42 christos Exp $ */ /*- * Copyright (c) 1995, 1998, 1999 The NetBSD Foundation, Inc. @@ -64,7 +64,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_misc.c,v 1.164 2006/11/14 13:34:29 elad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_misc.c,v 1.165 2006/11/16 01:32:42 christos Exp $"); #if defined(_KERNEL_OPT) #include "opt_ptrace.h" @@ -456,7 +456,7 @@ out: * long, and an extra domainname field. */ int -linux_sys_uname(struct lwp *l __unused, void *v, register_t *retval __unused) +linux_sys_uname(struct lwp *l, void *v, register_t *retval) { struct linux_sys_uname_args /* { syscallarg(struct linux_utsname *) up; @@ -693,7 +693,7 @@ linux_sys_msync(l, v, retval) } int -linux_sys_mprotect(struct lwp *l, void *v, register_t *retval __unused) +linux_sys_mprotect(struct lwp *l, void *v, register_t *retval) { struct linux_sys_mprotect_args /* { syscallarg(const void *) start; @@ -1119,7 +1119,7 @@ linux_sys_getpgid(l, v, retval) * ELF binaries run in Linux mode, not SVR4 mode. */ int -linux_sys_personality(struct lwp *l __unused, void *v, register_t *retval) +linux_sys_personality(struct lwp *l, void *v, register_t *retval) { struct linux_sys_personality_args /* { syscallarg(int) per; @@ -1368,7 +1368,7 @@ linux_sys_getfsuid(l, v, retval) # endif int -linux_sys_setresuid(struct lwp *l, void *v, register_t *retval __unused) +linux_sys_setresuid(struct lwp *l, void *v, register_t *retval) { struct linux_sys_setresuid_args /* { syscallarg(uid_t) ruid; @@ -1390,7 +1390,7 @@ linux_sys_setresuid(struct lwp *l, void *v, register_t *retval __unused) } int -linux_sys_getresuid(struct lwp *l, void *v, register_t *retval __unused) +linux_sys_getresuid(struct lwp *l, void *v, register_t *retval) { struct linux_sys_getresuid_args /* { syscallarg(uid_t *) ruid; @@ -1584,7 +1584,7 @@ linux_sys_swapoff(l, v, retval) */ /* ARGSUSED */ int -linux_sys_setdomainname(struct lwp *l, void *v, register_t *retval __unused) +linux_sys_setdomainname(struct lwp *l, void *v, register_t *retval) { struct linux_sys_setdomainname_args /* { syscallarg(char *) domainname; @@ -1603,7 +1603,7 @@ linux_sys_setdomainname(struct lwp *l, void *v, register_t *retval __unused) */ /* ARGSUSED */ int -linux_sys_sysinfo(struct lwp *l __unused, void *v, register_t *retval __unused) +linux_sys_sysinfo(struct lwp *l, void *v, register_t *retval) { struct linux_sys_sysinfo_args /* { syscallarg(struct linux_sysinfo *) arg; @@ -1726,8 +1726,8 @@ linux_sys_ugetrlimit(l, v, retval) * This is the way Linux does it and glibc depends on this behaviour. */ int -linux_sys_nosys(struct lwp *l __unused, void *v __unused, - register_t *retval __unused) +linux_sys_nosys(struct lwp *l, void *v, + register_t *retval) { return (ENOSYS); } |
