DragonFly BSD
DragonFly commits List (threaded) for 2011-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: DragonFly_RELEASE_2_8 pthread.h: Fix prototypes.


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 22 Jan 2011 17:11:29 -0800 (PST)

commit 3b0c181e11383b6cdd57407645d7ed587debf871
Author: Peter Avalos <pavalos@dragonflybsd.org>
Date:   Fri Jan 7 15:36:38 2011 -1000

    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.

Summary of changes:
 include/pthread.h |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3b0c181e11383b6cdd57407645d7ed587debf871


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]