pthread.h: Fix prototypes.
authorPeter Avalos <pavalos@dragonflybsd.org>
Sat, 8 Jan 2011 01:36:38 +0000 (15:36 -1000)
committerSascha Wildner <saw@online.de>
Sun, 23 Jan 2011 01:10:50 +0000 (02:10 +0100)
commit3b0c181e11383b6cdd57407645d7ed587debf871
tree5701d373739b4ee5c0ea3818e76fc1130adabdcf
parent7351058d10da323b1169e775c5aee67739a51352
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