summaryrefslogtreecommitdiffstats
path: root/sys/kern/sysv_shm.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2004-07-15 11:24:46 +0000
committermillert <millert@openbsd.org>2004-07-15 11:24:46 +0000
commit51c1ddd9bf9241d5216ba04f55ae69ffc7773de1 (patch)
tree5589e50dbef29277edd614cd7ca5275366298cee /sys/kern/sysv_shm.c
parentIn cvt_ds, copy from the address of the first element past the (diff)
downloadwireguard-openbsd-51c1ddd9bf9241d5216ba04f55ae69ffc7773de1.tar.xz
wireguard-openbsd-51c1ddd9bf9241d5216ba04f55ae69ffc7773de1.zip
Rename structs oipc_perm, omsqid_ds, osemid_ds, oshmid_ds to ipc_perm23,
etc to avoid confusion and for consistency with the *35 ones. Remove *n2o functions that don't belong outside of compat.
Diffstat (limited to 'sys/kern/sysv_shm.c')
-rw-r--r--sys/kern/sysv_shm.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/sys/kern/sysv_shm.c b/sys/kern/sysv_shm.c
index df588682aea..c7292abcaa0 100644
--- a/sys/kern/sysv_shm.c
+++ b/sys/kern/sysv_shm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysv_shm.c,v 1.45 2004/07/14 23:40:27 millert Exp $ */
+/* $OpenBSD: sysv_shm.c,v 1.46 2004/07/15 11:24:46 millert Exp $ */
/* $NetBSD: sysv_shm.c,v 1.50 1998/10/21 22:24:29 tron Exp $ */
/*
@@ -549,21 +549,6 @@ shminit(void)
shm_committed = 0;
}
-void
-shmid_n2o(struct shmid_ds *n, struct oshmid_ds *o)
-{
-
- o->shm_segsz = n->shm_segsz;
- o->shm_lpid = n->shm_lpid;
- o->shm_cpid = n->shm_cpid;
- o->shm_nattch = n->shm_nattch;
- o->shm_atime = n->shm_atime;
- o->shm_dtime = n->shm_dtime;
- o->shm_ctime = n->shm_ctime;
- o->shm_internal = n->shm_internal;
- ipc_n2o(&n->shm_perm, &o->shm_perm);
-}
-
/*
* Userland access to struct shminfo.
*/