[Midnightbsd-cvs] src [10974] trunk/include/pthread.h: remove mach header for now

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Jun 15 16:04:54 EDT 2018


Revision: 10974
          http://svnweb.midnightbsd.org/src/?rev=10974
Author:   laffer1
Date:     2018-06-15 16:04:53 -0400 (Fri, 15 Jun 2018)
Log Message:
-----------
remove mach header for now

Modified Paths:
--------------
    trunk/include/pthread.h

Modified: trunk/include/pthread.h
===================================================================
--- trunk/include/pthread.h	2018-06-15 18:56:43 UTC (rev 10973)
+++ trunk/include/pthread.h	2018-06-15 20:04:53 UTC (rev 10974)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*
  * Copyright (c) 1993, 1994 by Chris Provenzano, proven at mit.edu
  * Copyright (c) 1995-1998 by John Birrell <jb at cimlogic.com.au>
@@ -30,7 +31,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 
  * SUCH DAMAGE.
  *
- * $MidnightBSD$
+ * $FreeBSD: stable/10/include/pthread.h 257113 2013-10-25 13:27:55Z tijl $
  */
 #ifndef _PTHREAD_H_
 #define _PTHREAD_H_
@@ -175,6 +176,7 @@
 			{
 
 #define		pthread_cleanup_pop(execute)					\
+				(void)0;					\
 			}							\
 			__pthread_cleanup_pop_imp(execute);			\
 		}
@@ -284,12 +286,6 @@
 			struct sched_param *);
 int		pthread_setschedparam(pthread_t, int,
 			const struct sched_param *);
-
-#ifdef HAVE_MACH
-#include <mach/port.h>
-mach_port_t pthread_mach_thread_np(uintptr_t);
-#endif
-
 #if __XSI_VISIBLE
 int		pthread_getconcurrency(void);
 int		pthread_setconcurrency(int);



More information about the Midnightbsd-cvs mailing list