Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jun 2009 05:26:20 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r194910 - in head: lib/libc/gen lib/libc/include lib/libc/sys sys/compat/freebsd32 sys/compat/linux sys/compat/svr4 sys/i386/ibcs2 sys/kern sys/sys usr.bin/ipcs
Message-ID:  <87eit9hwvn.fsf@kobe.laptop>
References:  <200906242110.n5OLAq6c029444@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 24 Jun 2009 21:10:52 +0000 (UTC), John Baldwin <jhb@FreeBSD.org> wrote:
> Author: jhb
> Date: Wed Jun 24 21:10:52 2009
> New Revision: 194910
> URL: http://svn.freebsd.org/changeset/base/194910
>
> Log:
>   Change the ABI of some of the structures used by the SYSV IPC API:

>   - The existing __semctl(), msgctl(), and shmctl() system call entries are
>     now marked COMPAT7 and new versions of those system calls which support
>     the new ABI are now present.

Now that oshmctl is declared as static, it needs a visible prototype.
Perhaps something like this?

%%%
diff -r d79a5c0d6b89 sys/kern/sysv_shm.c
--- a/sys/kern/sysv_shm.c	Thu Jun 25 02:44:23 2009 +0300
+++ b/sys/kern/sysv_shm.c	Thu Jun 25 05:23:52 2009 +0300
@@ -129,6 +129,9 @@
 static void shmfork_myhook(struct proc *p1, struct proc *p2);
 static int sysctl_shmsegs(SYSCTL_HANDLER_ARGS);
 
+struct oshmctl_args;
+static int oshmctl(struct thread *td, struct oshmctl_args *uap);
+
 /*
  * Tuneable values.
  */
%%%




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87eit9hwvn.fsf>