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

Giorgos Keramidas keramida at ceid.upatras.gr
Thu Jun 25 02:52:28 UTC 2009


On Thu, 25 Jun 2009 05:26:20 +0300, Giorgos Keramidas <keramida at ceid.upatras.gr> 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 <sys/param.h>
 #include <sys/systm.h>
+#include <sys/limits.h>
 #include <sys/msg.h>
 #include <sys/sem.h>
 #include <sys/shm.h>
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.
  */
%%%


More information about the svn-src-head mailing list