Module Name:    src
Committed By:   christos
Date:           Thu Oct  6 16:03:48 UTC 2011

Modified Files:
        src/lib/libpthread: pthread_int.h

Log Message:
Include limits.h to get PTHREAD_KEYS_MAX, and move its definition there.


To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 src/lib/libpthread/pthread_int.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libpthread/pthread_int.h
diff -u src/lib/libpthread/pthread_int.h:1.80 src/lib/libpthread/pthread_int.h:1.81
--- src/lib/libpthread/pthread_int.h:1.80	Fri Sep 16 12:05:59 2011
+++ src/lib/libpthread/pthread_int.h	Thu Oct  6 12:03:48 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: pthread_int.h,v 1.80 2011/09/16 16:05:59 joerg Exp $	*/
+/*	$NetBSD: pthread_int.h,v 1.81 2011/10/06 16:03:48 christos Exp $	*/
 
 /*-
  * Copyright (c) 2001, 2002, 2003, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -54,6 +54,7 @@
 
 #include <lwp.h>
 #include <signal.h>
+#include <limits.h>
 
 #ifdef __GNUC__
 #define	PTHREAD_HIDE	__attribute__ ((visibility("hidden")))
@@ -61,7 +62,6 @@
 #define	PTHREAD_HIDE	/* nothing */
 #endif
 
-#define PTHREAD_KEYS_MAX 	256
 #define	PTHREAD__UNPARK_MAX	32
 
 /*

Reply via email to