summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2008-06-25 14:58:55 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2008-06-25 14:58:55 +0000
commitd916f957d346ffaea92d19911e484cebc027a939 (patch)
tree896191f45551f8a3fcb4a5fb3cf86d5e9348ecfe /lib/libpthread
parent17934aa50bba3ed925e1ba655300331c8faf4f15 (diff)
Move _POSIX_THREAD_SAFE_FUNCTIONS into unistd.h and set it to 200112
now that we support all the _r functions required by POSIX 1003.1-2001. Also define _POSIX_REENTRANT_FUNCTIONS. OK kurt@ deraadt@
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/include/pthread.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libpthread/include/pthread.h b/lib/libpthread/include/pthread.h
index 3dd31028b9d..ca837eb11f1 100644
--- a/lib/libpthread/include/pthread.h
+++ b/lib/libpthread/include/pthread.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pthread.h,v 1.27 2007/03/15 12:42:39 kurt Exp $ */
+/* $OpenBSD: pthread.h,v 1.28 2008/06/25 14:58:54 millert Exp $ */
/*
* Copyright (c) 1993, 1994 by Chris Provenzano, proven@mit.edu
@@ -73,7 +73,6 @@
#define _POSIX_THREAD_PRIO_INHERIT 1
#define _POSIX_THREAD_PRIO_PROTECT 1
/* #define _POSIX_THREAD_PROCESS_SHARED */
-#define _POSIX_THREAD_SAFE_FUNCTIONS 1
/*
* Flags for threads and thread attributes.