svn commit: r189814 - head/sys/sys
David Schultz
das at FreeBSD.org
Sat Mar 14 12:06:54 PDT 2009
Author: das
Date: Sat Mar 14 19:06:52 2009
New Revision: 189814
URL: http://svn.freebsd.org/changeset/base/189814
Log:
Namespace: semsys() and shmsys() aren't standard.
Modified:
head/sys/sys/sem.h
head/sys/sys/shm.h
Modified: head/sys/sys/sem.h
==============================================================================
--- head/sys/sys/sem.h Sat Mar 14 19:06:07 2009 (r189813)
+++ head/sys/sys/sem.h Sat Mar 14 19:06:52 2009 (r189814)
@@ -117,7 +117,9 @@ void semexit(struct proc *p);
#else /* ! _KERNEL */
__BEGIN_DECLS
+#if __BSD_VISIBLE
int semsys(int, ...);
+#endif
int semctl(int, int, int, ...);
int semget(key_t, int, int);
int semop(int, struct sembuf *, size_t);
Modified: head/sys/sys/shm.h
==============================================================================
--- head/sys/sys/shm.h Sat Mar 14 19:06:07 2009 (r189813)
+++ head/sys/sys/shm.h Sat Mar 14 19:06:52 2009 (r189814)
@@ -138,7 +138,9 @@ typedef __size_t size_t;
#endif
__BEGIN_DECLS
+#ifdef __BSD_VISIBLE
int shmsys(int, ...);
+#endif
void *shmat(int, const void *, int);
int shmget(key_t, size_t, int);
int shmctl(int, int, struct shmid_ds *);
More information about the svn-src-all
mailing list