pthread.h: Fix prototypes.
authorPeter Avalos <pavalos@dragonflybsd.org>
Sat, 8 Jan 2011 01:36:38 +0000 (15:36 -1000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sat, 8 Jan 2011 01:40:47 +0000 (15:40 -1000)
commitb109444e4e9277019359e8e7d8e87b979ef01639
treef030762a45eb2579f5a27366343e6e2fbd9b4a50
parent6e4ab34534504b6921191f76ff430440affe98a3
pthread.h: Fix prototypes.

We need to remove the condition of _POSIX_THREAD_PROCESS_SHARED for the
pshared prototypes.  Otherwise, programs have to include unistd.h (to
get the definition of _POSIX_THREAD_PROCESS_SHARED) before pthread.h.
This is not the way to do things.

This fixes at least kde4, and I'm sure there's others.
include/pthread.h