Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Mar 2009 19:06:52 +0000 (UTC)
From:      David Schultz <das@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r189814 - head/sys/sys
Message-ID:  <200903141906.n2EJ6qv4005165@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 *);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903141906.n2EJ6qv4005165>