svn commit: r194941 - head/sys/kern

Robert Watson rwatson at FreeBSD.org
Thu Jun 25 07:16:11 UTC 2009


Author: rwatson
Date: Thu Jun 25 07:16:10 2009
New Revision: 194941
URL: http://svn.freebsd.org/changeset/base/194941

Log:
  oshmctl() now requires a sysv_shm.c-local function prototype.

Modified:
  head/sys/kern/sysv_shm.c

Modified: head/sys/kern/sysv_shm.c
==============================================================================
--- head/sys/kern/sysv_shm.c	Thu Jun 25 04:25:26 2009	(r194940)
+++ head/sys/kern/sysv_shm.c	Thu Jun 25 07:16:10 2009	(r194941)
@@ -116,6 +116,10 @@ struct shmmap_state {
 	int shmid;
 };
 
+#if defined(__i386__) && (defined(COMPAT_FREEBSD4) || defined(COMPAT_43))
+struct oshmctl_args;
+static int oshmctl(struct thread *td, struct oshmctl_args *uap);
+#endif
 static void shm_deallocate_segment(struct shmid_kernel *);
 static int shm_find_segment_by_key(key_t);
 static struct shmid_kernel *shm_find_segment_by_shmid(int);


More information about the svn-src-head mailing list