From owner-svn-src-all@FreeBSD.ORG Thu Jun 25 02:52:28 2009 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70EBC106564A; Thu, 25 Jun 2009 02:52:28 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.freebsd.org (Postfix) with ESMTP id D73A78FC12; Thu, 25 Jun 2009 02:52:27 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id DB42FEB6C7C; Thu, 25 Jun 2009 05:52:26 +0300 (EEST) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id CDBC84509B; Thu, 25 Jun 2009 05:52:26 +0300 (EEST) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bjXuYkpiCmwO; Thu, 25 Jun 2009 05:52:26 +0300 (EEST) Received: from kobe.laptop (adsl105-76.kln.forthnet.gr [77.49.224.76]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 92EFF45088; Thu, 25 Jun 2009 05:52:26 +0300 (EEST) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id n5P2qPQd078347; Thu, 25 Jun 2009 05:52:26 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id n5P2qPtD078346; Thu, 25 Jun 2009 05:52:25 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: John Baldwin References: <200906242110.n5OLAq6c029444@svn.freebsd.org> <87eit9hwvn.fsf@kobe.laptop> Date: Thu, 25 Jun 2009 05:52:25 +0300 In-Reply-To: <87eit9hwvn.fsf@kobe.laptop> (Giorgos Keramidas's message of "Thu, 25 Jun 2009 05:26:20 +0300") Message-ID: <877hz1auty.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jun 2009 02:52:28 -0000 On Thu, 25 Jun 2009 05:26:20 +0300, Giorgos Keramidas wrote: > Now that oshmctl is declared as static, it needs a visible prototype. > Perhaps something like this? I accidentally diffed only part of the kernel. Another tiny change is also needed to ibcs2, for SHRT_MAX: %%% diff -r d79a5c0d6b89 sys/i386/ibcs2/ibcs2_ipc.c --- a/sys/i386/ibcs2/ibcs2_ipc.c Thu Jun 25 02:44:23 2009 +0300 +++ b/sys/i386/ibcs2/ibcs2_ipc.c Thu Jun 25 05:50:51 2009 +0300 @@ -28,6 +28,7 @@ #include #include +#include #include #include #include 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:50:51 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. */ %%%