]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/sys/shm.h
xnu-517.7.7.tar.gz
[apple/xnu.git] / bsd / sys / shm.h
index a1a10f7d5365998e83161d7fe24b634c0cf784ea..f86d8aae8c9eace3aed136683ededb406efccf93 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
@@ -59,6 +59,7 @@
 #ifndef _SYS_SHM_H_
 #define _SYS_SHM_H_
 
+#include <sys/appleapiopts.h>
 #include <sys/param.h>
 #include <sys/ipc.h>
 
@@ -85,7 +86,7 @@ struct shmid_ds {
 };
 
 #ifdef KERNEL
-
+#ifdef __APPLE_API_PRIVATE
 /*
  * System 5 style catch-all structure for shared memory constants that
  * might be of interest to user programs.  Do we really want/need this?
@@ -104,6 +105,8 @@ struct proc;
 
 void   shmexit __P((struct proc *));
 void   shmfork __P((struct proc *, struct proc *));
+__private_extern__ void        shmexec __P((struct proc *));
+#endif /* __APPLE_API_PRIVATE */
 #else /* !KERNEL */
 
 #include <sys/cdefs.h>