diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2004-07-15 11:24:47 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2004-07-15 11:24:47 +0000 |
commit | 152690e833bd62e71c2becaf54c074ad57d6c620 (patch) | |
tree | c4ac156af48fc514a5aab66caf08519d6fff741c /sys/kern/sysv_msg.c | |
parent | 3ec9471564351d78de37089e493304b0c3da0dc7 (diff) |
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_msg.c')
-rw-r--r-- | sys/kern/sysv_msg.c | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/sys/kern/sysv_msg.c b/sys/kern/sysv_msg.c index 071d839fab7..365c721be80 100644 --- a/sys/kern/sysv_msg.c +++ b/sys/kern/sysv_msg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sysv_msg.c,v 1.17 2004/07/14 23:40:27 millert Exp $ */ +/* $OpenBSD: sysv_msg.c,v 1.18 2004/07/15 11:24:46 millert Exp $ */ /* $NetBSD: sysv_msg.c,v 1.19 1996/02/09 19:00:18 christos Exp $ */ /* @@ -134,28 +134,6 @@ msg_freehdr(msghdr) free_msghdrs = msghdr; } -void -msqid_n2o(n, o) - struct msqid_ds *n; - struct omsqid_ds *o; -{ - o->msg_first = n->msg_first; - o->msg_last = n->msg_last; - o->msg_cbytes = n->msg_cbytes; - o->msg_qnum = n->msg_qnum; - o->msg_qbytes = n->msg_qbytes; - o->msg_lspid = n->msg_lspid; - o->msg_lrpid = n->msg_lrpid; - o->msg_stime = n->msg_stime; - o->msg_pad1 = n->msg_pad1; - o->msg_rtime = n->msg_rtime; - o->msg_pad2 = n->msg_pad2; - o->msg_ctime = n->msg_ctime; - o->msg_pad3 = n->msg_pad3; - bcopy(n->msg_pad4, o->msg_pad4, sizeof o->msg_pad4); - ipc_n2o(&n->msg_perm, &o->msg_perm); -} - int sys_msgctl(p, v, retval) struct proc *p; |