summaryrefslogtreecommitdiffstats
path: root/sys/kern/sysv_shm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/sysv_shm.c')
-rw-r--r--sys/kern/sysv_shm.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/kern/sysv_shm.c b/sys/kern/sysv_shm.c
index 1741a21..2bad484 100644
--- a/sys/kern/sysv_shm.c
+++ b/sys/kern/sysv_shm.c
@@ -284,7 +284,7 @@ struct shmdt_args {
};
#endif
int
-shmdt(td, uap)
+sys_shmdt(td, uap)
struct thread *td;
struct shmdt_args *uap;
{
@@ -434,7 +434,7 @@ done2:
}
int
-shmat(td, uap)
+sys_shmat(td, uap)
struct thread *td;
struct shmat_args *uap;
{
@@ -559,7 +559,7 @@ struct shmctl_args {
};
#endif
int
-shmctl(td, uap)
+sys_shmctl(td, uap)
struct thread *td;
struct shmctl_args *uap;
{
@@ -750,7 +750,7 @@ struct shmget_args {
};
#endif
int
-shmget(td, uap)
+sys_shmget(td, uap)
struct thread *td;
struct shmget_args *uap;
{
@@ -851,7 +851,7 @@ static struct syscall_helper_data shm_syscalls[] = {
SYSCALL_INIT_HELPER(shmget),
#if defined(COMPAT_FREEBSD4) || defined(COMPAT_FREEBSD5) || \
defined(COMPAT_FREEBSD6) || defined(COMPAT_FREEBSD7)
- SYSCALL_INIT_HELPER(freebsd7_shmctl),
+ SYSCALL_INIT_HELPER_COMPAT(freebsd7_shmctl),
#endif
#if defined(__i386__) && (defined(COMPAT_FREEBSD4) || defined(COMPAT_43))
SYSCALL_INIT_HELPER(shmsys),
@@ -868,9 +868,9 @@ static struct syscall_helper_data shm_syscalls[] = {
#include <compat/freebsd32/freebsd32_util.h>
static struct syscall_helper_data shm32_syscalls[] = {
- SYSCALL32_INIT_HELPER(shmat),
- SYSCALL32_INIT_HELPER(shmdt),
- SYSCALL32_INIT_HELPER(shmget),
+ SYSCALL32_INIT_HELPER_COMPAT(shmat),
+ SYSCALL32_INIT_HELPER_COMPAT(shmdt),
+ SYSCALL32_INIT_HELPER_COMPAT(shmget),
SYSCALL32_INIT_HELPER(freebsd32_shmsys),
SYSCALL32_INIT_HELPER(freebsd32_shmctl),
#if defined(COMPAT_FREEBSD4) || defined(COMPAT_FREEBSD5) || \
@@ -1040,13 +1040,13 @@ done2:
/* XXX casting to (sy_call_t *) is bogus, as usual. */
static sy_call_t *shmcalls[] = {
- (sy_call_t *)shmat, (sy_call_t *)oshmctl,
- (sy_call_t *)shmdt, (sy_call_t *)shmget,
+ (sy_call_t *)sys_shmat, (sy_call_t *)oshmctl,
+ (sy_call_t *)sys_shmdt, (sy_call_t *)sys_shmget,
(sy_call_t *)freebsd7_shmctl
};
int
-shmsys(td, uap)
+sys_shmsys(td, uap)
struct thread *td;
/* XXX actually varargs. */
struct shmsys_args /* {
OpenPOWER on IntegriCloud